Fixing a lot of string formatting issues with regards to:
* Improper format specifier (e.g. %s for bools or %s for ints) * More or less parameters than format specifiers * Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
This commit is contained in:
@@ -78,7 +78,7 @@ func verifyUpdates(t *testing.T, manager *statusManager, expectedUpdates int) {
|
||||
}
|
||||
|
||||
if numUpdates != expectedUpdates {
|
||||
t.Errorf("unexpected number of updates %d, expected %s", numUpdates, expectedUpdates)
|
||||
t.Errorf("unexpected number of updates %d, expected %d", numUpdates, expectedUpdates)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user