Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / domhandler / test / cases / 06-comment_in_script.json
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/domhandler/test/cases/06-comment_in_script.json b/.config/coc/extensions/node_modules/coc-prettier/node_modules/domhandler/test/cases/06-comment_in_script.json
new file mode 100644 (file)
index 0000000..9a21cda
--- /dev/null
@@ -0,0 +1,18 @@
+{
+  "name": "Script source in comment",
+  "options": {},
+  "html": "<script><!--var foo = 1;--></script>",
+  "expected": [
+    {
+      "type": "script",
+      "name": "script",
+      "attribs": {},
+      "children": [
+        {
+          "data": "<!--var foo = 1;-->",
+          "type": "text"
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file