aboutsummaryrefslogtreecommitdiff
path: root/fs_fs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'fs_fs_test.go')
-rw-r--r--fs_fs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_fs_test.go b/fs_fs_test.go
index 3ddc01a..437e399 100644
--- a/fs_fs_test.go
+++ b/fs_fs_test.go
@@ -254,7 +254,7 @@ func testFSFSCompress(t *testing.T, h RequestHandler, filePath string) {
t.Errorf("unexpected status code: %d. Expecting %d. filePath=%q", resp.StatusCode(), StatusOK, filePath)
}
ce := resp.Header.ContentEncoding()
- if string(ce) != "" {
+ if len(ce) != 0 {
t.Errorf("unexpected content-encoding %q. Expecting empty string. filePath=%q", ce, filePath)
}
body := string(resp.Body())