mirror of
https://github.com/rancher/os.git
synced 2025-04-28 03:20:50 +00:00
Fix go_vet issues reported by goreportcard
This commit is contained in:
parent
36064ca496
commit
f90ddbc76d
@ -363,7 +363,7 @@ func TestFilename(t *testing.T) {
|
||||
{logicalInterface{name: "iface", hwaddr: net.HardwareAddr([]byte{0x01, 0x23, 0x45, 0x67, 0x89, 0xab}), configDepth: 1}, "01-iface"},
|
||||
} {
|
||||
if tt.i.Filename() != tt.f {
|
||||
t.Fatalf("bad filename (%q): got %q, want %q", tt.i, tt.i.Filename(), tt.f)
|
||||
t.Fatalf("bad filename: got %q, want %q", tt.i.Filename(), tt.f)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user