[Pkg-javascript-commits] [node-character-parser] 06/08: 0000-use_assert.patch: do not use better-assert for tests

Leo Iannacone l3on-guest at moszumanska.debian.org
Sat Oct 11 16:07:30 UTC 2014


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

l3on-guest pushed a commit to branch master
in repository node-character-parser.

commit a9a0e88c80292a6d135a8ebd85cfec2637c1f5c4
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Sat Oct 11 17:55:58 2014 +0200

    0000-use_assert.patch: do not use better-assert for tests
---
 debian/patches/0000-use_assert.patch | 17 +++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/0000-use_assert.patch b/debian/patches/0000-use_assert.patch
new file mode 100644
index 0000000..5167729
--- /dev/null
+++ b/debian/patches/0000-use_assert.patch
@@ -0,0 +1,17 @@
+Description: do not use better-assert, which is not in yet
+ in Debian.
+Author: Leo Iannacone <l3on at ubuntu.com>
+Forwarded: not-needed
+
+---
+ test/index.js |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/test/index.js
++++ b/test/index.js
+@@ -1,4 +1,4 @@
+-var assert = require('better-assert');
++var assert = require('assert');
+ var parser = require('../');
+ var parse = parser;
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d0f58e5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0000-use_assert.patch

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



More information about the Pkg-javascript-commits mailing list