aboutsummaryrefslogtreecommitdiff
path: root/src/html/template/js_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/template/js_test.go')
-rw-r--r--src/html/template/js_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html/template/js_test.go b/src/html/template/js_test.go
index 58fc37ae3a..7484f60b54 100644
--- a/src/html/template/js_test.go
+++ b/src/html/template/js_test.go
@@ -341,6 +341,7 @@ func TestIsJsMimeType(t *testing.T) {
{"application/javascript;version=1.8;foo=bar", true},
{"application/javascript/version=1.8", false},
{"text/javascript", true},
+ {"application/json", true},
}
for _, test := range tests {