diff --git a/file_server_test.go b/file_server_test.go index e199490..7a10a22 100644 --- a/file_server_test.go +++ b/file_server_test.go @@ -92,14 +92,12 @@ func TestFileServerWithListing(t *testing.T) { assert.Equal(t, http.StatusOK, resp.StatusCode) msg, err := io.ReadAll(resp.Body) require.NoError(t, err) - exp := ` - -
+		exp := `
 f1.html
 f2.html
 
` - assert.Equal(t, exp, string(msg)) + assert.Contains(t, string(msg), exp) } {