summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_document.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_document.cc b/test/test_document.cc
index 352a14c..219f66f 100644
--- a/test/test_document.cc
+++ b/test/test_document.cc
@@ -16,7 +16,7 @@ TEST(document, sanity) {
MockTransport transport;
MockResponse response;
- std::string content = "<html><head><title>title</title>"
+ std::string content = "<!DOCTYPE html><html><head><title>title</title>"
"<link href=\"style.css\" rel=\"stylesheet\"/>"
"</head><body>body</body></html>";
@@ -48,7 +48,7 @@ TEST(document, script) {
MockTransport transport;
MockResponse response;
- std::string content = "<html><head><title/>"
+ std::string content = "<!DOCTYPE html><html><head><title/>"
"<script src=\"foo.js\" type=\"text/javascript\"></script>"
"<script type=\"text/javascript\">alert(\"<foo>\");</script>"
"</head><body/></html>";