Index: lib/src/prism/tests/languages/javascript+http/javascript_inclusion.test |
diff --git a/lib/src/prism/tests/languages/javascript+http/javascript_inclusion.test b/lib/src/prism/tests/languages/javascript+http/javascript_inclusion.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..825fea49d5b60e794af66dd7f6862a7d3e565f15 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/javascript+http/javascript_inclusion.test |
@@ -0,0 +1,21 @@ |
+Content-type: application/json |
+ |
+{"foo":"bar"} |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["header-name", "Content-type:"], |
+ " application/json", |
+ ["application/json", [ |
+ ["punctuation", "{"], |
+ ["string", "\"foo\""], |
+ ["punctuation", ":"], |
+ ["string", "\"bar\""], |
+ ["punctuation", "}"] |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for JSON content in HTTP. |