Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux_Wireless Plugin #3650

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
t.Fatalf
  • Loading branch information
David G. Simmons committed Jan 9, 2018
commit 16a24bc4da61d0e935a58a29b3232706535e73ce
6 changes: 3 additions & 3 deletions plugins/inputs/linux_wireless/linux_wireless_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestLoadWirelessTable(t *testing.T) {
}
// make sure we got the same number of headers back we expect.
if len(got.Headers) != len(headers) {
t.Fatal("want %+v, got %+v", headers, got.Headers)
t.Fatalf("want %+v, got %+v", headers, got.Headers)
}
// create the data map
for z := 0; z < len(got.Data[0]); z++ {
Expand All @@ -61,13 +61,13 @@ func TestLoadWirelessTable(t *testing.T) {
// verify the data map
for key := range parsed {
if parsed[key] != entries[key] {
t.Fatal("want %+v, got %+v", parsed[key], entries[key])
t.Fatalf("want %+v, got %+v", parsed[key], entries[key])
}
}
// verify the tag map
for key := range tags {
if test_tags[key] != tags[key] {
t.Fatal("want %+v, got %+v", test_tags[key], tags[key])
t.Fatalf("want %+v, got %+v", test_tags[key], tags[key])
}
}
}