Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
This commit is contained in:
@@ -173,7 +173,7 @@ func TestCreater(t *testing.T) {
|
||||
t.Errorf("[%s] unexpected non-error", test.name)
|
||||
}
|
||||
if !reflect.DeepEqual(test.expectedObj, out) {
|
||||
t.Errorf("[%s] unexpected error: expect: %v, got: %v", test.expectedObj, out)
|
||||
t.Errorf("[%s] unexpected error: expect: %v, got: %v", test.name, test.expectedObj, out)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user