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 /status_timing_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 'status_timing_test.go')
-rw-r--r-- | status_timing_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/status_timing_test.go b/status_timing_test.go index d2ec34a..e35d8ce 100644 --- a/status_timing_test.go +++ b/status_timing_test.go @@ -22,7 +22,7 @@ func benchmarkStatusLine(b *testing.B, statusCode int, expected []byte) { for pb.Next() { line := formatStatusLine(nil, strHTTP11, statusCode, s2b(StatusMessage(statusCode))) if !bytes.Equal(expected, line) { - b.Fatalf("unexpected status line %s. Expecting %s", string(line), string(expected)) + b.Fatalf("unexpected status line %q. Expecting %q", string(line), string(expected)) } } }) |