diff --git a/singleflight/singleflight_test.go b/singleflight/singleflight_test.go index 4e5881a..47b4d3d 100644 --- a/singleflight/singleflight_test.go +++ b/singleflight/singleflight_test.go @@ -45,7 +45,7 @@ func TestDoErr(t *testing.T) { return nil, someErr }) if err != someErr { - t.Errorf("Do error = %v; want someErr", err, someErr) + t.Errorf("Do error = %v; want someErr", err) } if v != nil { t.Errorf("unexpected non-nil value %#v", v)