[Pkg-javascript-commits] [node-nan] 03/05: Add patch

Jérémy Lal kapouer at moszumanska.debian.org
Tue May 19 23:22:00 UTC 2015


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

kapouer pushed a commit to branch master
in repository node-nan.

commit 3ec3596f0a17e1e648b13f967f53b6165be39801
Author: Jérémy Lal <kapouer at melix.org>
Date:   Wed May 20 01:20:55 2015 +0200

    Add patch
---
 debian/patches/fix_regexp_test.patch | 40 ++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/debian/patches/fix_regexp_test.patch b/debian/patches/fix_regexp_test.patch
new file mode 100644
index 0000000..cc10393
--- /dev/null
+++ b/debian/patches/fix_regexp_test.patch
@@ -0,0 +1,40 @@
+Description: fix incorrect regexp test
+Forwarded: https://github.com/nodejs/nan/issues/352
+Origin: https://github.com/nodejs/nan/commit/5729a46247261db5804d62940ce82c7bb4a4e898
+Last-Update: 2015-05-20
+Acked-By: Jérémy Lal <kapouer at melix.org>
+--- a/package.json
++++ b/package.json
+@@ -23,8 +23,8 @@
+   "devDependencies": {
+     "bindings": "~1.2.1",
+     "node-gyp": "~1.0.2",
+-    "pangyp": "~2.0.1",
+-    "tap": "~0.7.1",
++    "pangyp": "~2.2.0",
++    "tap": "~1.0.7",
+     "xtend": "~4.0.0"
+   },
+   "license": "MIT"
+--- a/test/js/news-test.js
++++ b/test/js/news-test.js
+@@ -51,7 +51,7 @@
+   t.equal(bindings.newLatin1String(), 'strïng');
+   t.equal(bindings.newUcs2String(), 'strïng');
+   t.equal(bindings.newStdString(), 'strïng');
+-  t.deepEquals(bindings.newRegExp(), /foo/g);
++  t.equal(bindings.newRegExp().toString(), '/foo/');
+   t.deepEquals(bindings.newStringObject(), new String("foo"));
+   t.deepEquals(bindings.newNumberObject(), new Number(0.5));
+   t.deepEquals(bindings.newBooleanObject(), new Boolean(true));
+--- a/test/js/persistent-test.js
++++ b/test/js/persistent-test.js
+@@ -11,7 +11,7 @@
+     , bindings = require('bindings')({ module_root: testRoot, bindings: 'persistent' });
+ 
+ test('persistent', function (t) {
+-  t.plan(9)
++  t.plan(11)
+ 
+   var persistent = bindings;
+   t.type(persistent.save1, 'function');

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



More information about the Pkg-javascript-commits mailing list