Fix govet error

parent fd6b01f4
...@@ -419,7 +419,7 @@ func (tc *patchTestCase) Run(t *testing.T) { ...@@ -419,7 +419,7 @@ func (tc *patchTestCase) Run(t *testing.T) {
if tc.expectedTries > 0 { if tc.expectedTries > 0 {
if tc.expectedTries != testPatcher.numUpdates { if tc.expectedTries != testPatcher.numUpdates {
t.Errorf("%s: expected %d tries, got %d", tc.expectedTries, testPatcher.numUpdates) t.Errorf("%s: expected %d tries, got %d", tc.name, tc.expectedTries, testPatcher.numUpdates)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment