fix 'go vet' warnings

This commit is contained in:
Tim Hockin
2014-11-20 20:42:48 +08:00
parent ea960711ff
commit 95a9098311
19 changed files with 32 additions and 34 deletions

View File

@@ -399,7 +399,7 @@ func TestGetIptablesHasCheckCommand(t *testing.T) {
t.Errorf("Expected error: %v, Got error: %v", testCase.Err, err)
}
if err == nil && testCase.Expected != check {
t.Errorf("Expected result: %v, Got result: %v")
t.Errorf("Expected result: %v, Got result: %v", testCase.Expected, check)
}
}
}