Merge pull request #38644 from yongtang/fatalf

Fatalf -> Fatal
This commit is contained in:
Vincent Demeester 2019-01-28 20:19:38 +01:00 committed by GitHub
commit 8b10292153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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