[Pkg-javascript-commits] [ltx] 210/469: parse-test: fix entities

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 6debed491ef92be79246b115c904fcbe37433425
Author: Astro <astro at spaceboyz.net>
Date:   Mon Mar 19 17:46:15 2012 +0100

    parse-test: fix entities
---
 test/parse-test.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/parse-test.js b/test/parse-test.js
index acb44a6..302ebb8 100644
--- a/test/parse-test.js
+++ b/test/parse-test.js
@@ -18,7 +18,7 @@ ltx.availableSaxParsers.forEach(function(saxParser) {
                 assert.equal("sa'sa'1'sasa", el.getText());
             },
             'text with entities': function() {
-                var el = parse("<body><>&"apos;</body>");
+                var el = parse("<body><>&"'</body>");
                 assert.equal("<>&\"'", el.getText());
             },
             'erroneous document raises error': function() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list