console: fix asset tests (doctype changed)

This commit is contained in:
Vincent Bernat
2023-07-16 11:35:47 +02:00
parent a9d874d065
commit a5781aceda

View File

@@ -27,11 +27,11 @@ func TestServeAssets(t *testing.T) {
{ {
URL: "/", URL: "/",
ContentType: "text/html; charset=utf-8", ContentType: "text/html; charset=utf-8",
FirstLines: []string{"<!DOCTYPE html>"}, FirstLines: []string{"<!doctype html>"},
}, { }, {
URL: "/something", URL: "/something",
ContentType: "text/html; charset=utf-8", ContentType: "text/html; charset=utf-8",
FirstLines: []string{"<!DOCTYPE html>"}, FirstLines: []string{"<!doctype html>"},
}, { }, {
URL: "/assets/akvorado.399701ee.svg", URL: "/assets/akvorado.399701ee.svg",
ContentType: "image/svg+xml", ContentType: "image/svg+xml",