diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2022-04-01 18:11:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 18:11:16 +0200 |
commit | 7a5afddf5b805a022f8e81281c772c11600da2f4 (patch) | |
tree | 76ecbf4981921328d823eb925e57f874f52c34f2 /allocation_test.go | |
parent | support adding/removing clients from LBClient (#1243) (diff) | |
download | fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.tar.gz fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.tar.bz2 fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.zip |
Mostly in tests.
Diffstat (limited to 'allocation_test.go')
-rw-r--r-- | allocation_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/allocation_test.go b/allocation_test.go index 56c922b..5429ab6 100644 --- a/allocation_test.go +++ b/allocation_test.go @@ -39,7 +39,7 @@ func TestAllocationServeConn(t *testing.T) { func TestAllocationClient(t *testing.T) { ln, err := net.Listen("tcp4", "127.0.0.1:0") if err != nil { - t.Fatalf("cannot listen: %s", err) + t.Fatalf("cannot listen: %v", err) } defer ln.Close() |