[Pkg-javascript-commits] [node-expat] 169/371: node-expat 1.6.0
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 09:59:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-expat.
commit f6538292154eceac68ad255e7be4a9713a23aa1d
Author: Astro <astro at spaceboyz.net>
Date: Fri Jun 22 03:55:26 2012 +0200
node-expat 1.6.0
---
package.json | 2 +-
test.js | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index 09a2fad..be06986 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{ "name": "node-expat"
-,"version": "1.5.0"
+,"version": "1.6.0"
,"main": "./lib/node-expat"
,"description": "NodeJS binding for fast XML parsing."
,"keywords": ["xml","sax","expat","libexpat","parse","parsing"]
diff --git a/test.js b/test.js
index e3c5e2d..99a647c 100644
--- a/test.js
+++ b/test.js
@@ -186,7 +186,7 @@ vows.describe('node-expat').addBatch({
var p = new expat.Parser("UTF-8");
expectWithParserAndStep("<start><first /><second>text</second>", [['startElement', 'start', {}], ['startElement', 'first', {}], ['endElement', 'first'], ['startElement', 'second', {}], ['text', "text"], ['endElement', 'second']], p, 1000);
p.reset();
- expectWithParserAndStep("<restart><third>moretext</third><fourth /></restart>", [['startElement', 'restart', {}], ['startElement', 'third', {}], ['text', "moretext"], ['endElement', 'third'], ['startElement', 'fourth', {}], ['endElement', 'fourth'], ['endElement', 'restart']], p, 1000);
+ expectWithParserAndStep("<restart><third>moretext</third><fourth /></restart>", [['startElement', 'restart', {}], ['startElement', 'third', {}], ['text', "moretext"], ['endElement', 'third'], ['startElement', 'fourth', {}], ['endElement', 'fourth'], ['endElement', 'restart']], p, 1000);
},
'with doc error': function() {
var p = new expat.Parser("UTF-8");
@@ -259,8 +259,8 @@ vows.describe('node-expat').addBatch({
var p = new expat.Parser("UTF-8");
p.parse('');
assert.ok(true, "Did not segfault");
- },
-
+ },
+
'parsing twice the same document with the same parser instance should be fine': 'reset() not yet implemented'
/*function() {
var p = new expat.Parser("UTF-8");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git
More information about the Pkg-javascript-commits
mailing list