fix typo
This commit is contained in:
parent
30ebb9ca3a
commit
bad1ce0748
|
@ -23,7 +23,7 @@ func TestParseDmesgBoot(t *testing.T) {
|
||||||
{"2cpu_4core.txt", 2, 4},
|
{"2cpu_4core.txt", 2, 4},
|
||||||
}
|
}
|
||||||
for _, tt := range cpuTests {
|
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 {
|
if err != nil {
|
||||||
t.Errorf("parseDmesgBoot failed(%s), %v", tt.file, err)
|
t.Errorf("parseDmesgBoot failed(%s), %v", tt.file, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue