diff --git a/cpu/cpu_freebsd_test.go b/cpu/cpu_freebsd_test.go index afa502a..c0ec73c 100644 --- a/cpu/cpu_freebsd_test.go +++ b/cpu/cpu_freebsd_test.go @@ -23,7 +23,7 @@ func TestParseDmesgBoot(t *testing.T) { {"2cpu_4core.txt", 2, 4}, } for _, tt := range cpuTests { - v, num, err := parseDmesgBoot(filepath.Join("testdatak", "freebsd", tt.file)) + v, num, err := parseDmesgBoot(filepath.Join("testdata", "freebsd", tt.file)) if err != nil { t.Errorf("parseDmesgBoot failed(%s), %v", tt.file, err) }