[Pkg-javascript-commits] [node-expat] 82/371: improves test

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:47 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 a8a06e4b8da921a8b1335b2f581a5a4ab18df793
Author: Camilo Aguilar <camilo.aguilar at gmail.com>
Date:   Fri Jul 1 19:17:09 2011 -0400

    improves test
---
 test.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test.js b/test.js
index e2012c6..5472e81 100644
--- a/test.js
+++ b/test.js
@@ -242,8 +242,12 @@ vows.describe('node-expat').addBatch({
            var xml = "<foo>bar</foo>";
            var result = p.parse(xml);
            assert.ok(result);
+           assert.isNull(p.getError());
+
            var result2 = p.parse(xml);
+           assert.isNull(p.getError());
            assert.ok(result2);
+            
         }
     }
 }).run();

-- 
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