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_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_test.go')
-rw-r--r-- | status_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/status_test.go b/status_test.go index 512c884..ff794a3 100644 --- a/status_test.go +++ b/status_test.go @@ -19,6 +19,6 @@ func TestStatusLine(t *testing.T) { func testStatusLine(t *testing.T, statusCode int, expected []byte) { line := formatStatusLine(nil, strHTTP11, statusCode, s2b(StatusMessage(statusCode))) if !bytes.Equal(expected, line) { - t.Fatalf("unexpected status line %s. Expecting %s", string(line), string(expected)) + t.Fatalf("unexpected status line %q. Expecting %q", string(line), string(expected)) } } |