fix printing

This commit is contained in:
Asim 2016-03-15 18:45:54 +00:00 committed by Vasiliy Tolstov
parent e51179ccf8
commit e799eb29e9

View File

@ -42,6 +42,6 @@ func TestBreaker(t *testing.T) {
} }
if err.Error() != "circuit breaker is open" { if err.Error() != "circuit breaker is open" {
t.Error("Expecting tripped breaker, got %v", err) t.Errorf("Expecting tripped breaker, got %v", err)
} }
} }