diff options
-rw-r--r-- | test/scanners/javascript/xml.expected.raydebug | 2 | ||||
-rw-r--r-- | test/scanners/javascript/xml.in.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/scanners/javascript/xml.expected.raydebug b/test/scanners/javascript/xml.expected.raydebug new file mode 100644 index 0000000..a45b01c --- /dev/null +++ b/test/scanners/javascript/xml.expected.raydebug @@ -0,0 +1,2 @@ +keyword(var) ident(link) operator(=) tag(<a) attribute_name(href)operator(=)string<delimiter(")content(http://coderay.rubychan.de)delimiter(")>tag(>)plain(CodeRay)tag(</a>)operator(;) +keyword(var) ident(link) operator(=) tag(<div>)tag(<div>)tag(</div>)tag(</div>)operator(;)
\ No newline at end of file diff --git a/test/scanners/javascript/xml.in.js b/test/scanners/javascript/xml.in.js new file mode 100644 index 0000000..a5f4f49 --- /dev/null +++ b/test/scanners/javascript/xml.in.js @@ -0,0 +1,2 @@ +var link = <a href="http://coderay.rubychan.de">CodeRay</a>; +var link = <div><div></div></div>;
\ No newline at end of file |