From e799eb29e90467ad8d01e278ecff87da422f7170 Mon Sep 17 00:00:00 2001 From: Asim Date: Tue, 15 Mar 2016 18:45:54 +0000 Subject: [PATCH] fix printing --- gobreaker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }