Commit 9ceb1acb authored by Ian Lance Taylor's avatar Ian Lance Taylor

net: use t.Fatalf, not t.Fatal, in test

Found by cmd/vet.

Change-Id: Id570ecd76c3f1efd9696680ccd9799610217f8f7
Reviewed-on: https://go-review.googlesource.com/17042
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 342f17ea
...@@ -282,5 +282,5 @@ func TestListenCloseListen(t *testing.T) { ...@@ -282,5 +282,5 @@ func TestListenCloseListen(t *testing.T) {
} }
t.Errorf("failed on try %d/%d: %v", tries+1, maxTries, err) t.Errorf("failed on try %d/%d: %v", tries+1, maxTries, err)
} }
t.Fatal("failed to listen/close/listen on same address after %d tries", maxTries) t.Fatalf("failed to listen/close/listen on same address after %d tries", maxTries)
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment