diff --git a/gobreaker_test.go b/gobreaker_test.go index ea81fef..3de0982 100644 --- a/gobreaker_test.go +++ b/gobreaker_test.go @@ -42,6 +42,6 @@ func TestBreaker(t *testing.T) { } if err.Error() != "circuit breaker is open" { - t.Error("Expecting tripped breaker, got %v", err) + t.Errorf("Expecting tripped breaker, got %v", err) } }