Skip to content

Commit

Permalink
test: server
Browse files Browse the repository at this point in the history
fix test suite with wrong test data
  • Loading branch information
sundowndev committed Jul 1, 2022
1 parent 34dc903 commit af3cabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestApi(t *testing.T) {
assert.Equal(t, "text/css; charset=utf-8", contentType)

contentType = detectContentType("/file.hash.js", []byte{})
assert.Equal(t, "application/javascript", contentType)
assert.Equal(t, "text/javascript; charset=utf-8", contentType)

contentType = detectContentType("/file.hash.svg", []byte{})
assert.Equal(t, "image/svg+xml", contentType)
Expand Down

0 comments on commit af3cabe

Please sign in to comment.