From ce9f66c846a6172dde52b6130176d1100b133f4d Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 30 Dec 2009 07:01:18 +0000 Subject: Added a test for XML literals in JavaScript (see issue #137). --- test/scanners/javascript/xml.expected.raydebug | 2 ++ test/scanners/javascript/xml.in.js | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 test/scanners/javascript/xml.expected.raydebug create mode 100644 test/scanners/javascript/xml.in.js (limited to 'test') 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(tag(>)plain(CodeRay)tag()operator(;) +keyword(var) ident(link) operator(=) tag(
)tag(
)tag(
)tag(
)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 = CodeRay; +var link =
; \ No newline at end of file -- cgit v1.2.1