fix printing
This commit is contained in:
parent
e51179ccf8
commit
e799eb29e9
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user