1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fatalf -> Fatal

This is a small fix to replace Fatalf -> Fatal

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2019-01-27 00:43:24 +00:00
parent 6351619e2c
commit f04e8bb075

View file

@ -397,7 +397,7 @@ func waitAndAssert(t *testing.T, timeout time.Duration, f func(*testing.T) bool)
for { for {
select { select {
case <-after: case <-after:
t.Fatalf("timed out waiting for condition") t.Fatal("timed out waiting for condition")
default: default:
} }
if f(t) { if f(t) {