[Pkg-javascript-commits] [node-core-util-is] 08/10: Patch upstream test to require assert instead of tap
Ross Gammon
ross-guest at moszumanska.debian.org
Fri Dec 18 22:10:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
ross-guest pushed a commit to branch master
in repository node-core-util-is.
commit 7b3164f2ba095c09b993d884d3f96a5c970ad9ae
Author: Ross Gammon <rossgammon at mail.dk>
Date: Fri Dec 18 22:55:45 2015 +0100
Patch upstream test to require assert instead of tap
---
debian/patches/assert.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/assert.patch b/debian/patches/assert.patch
new file mode 100644
index 0000000..c1416aa
--- /dev/null
+++ b/debian/patches/assert.patch
@@ -0,0 +1,16 @@
+Description: Patch test.js to require assert
+ Upstream test fails with TypeError: assert.equal is not a function
+ .
+ This patch fixes it by requiring assert rather than tap.
+Forwarded: Not yet
+Author: Ross Gammon <rossgammon at mail.dk>
+Last-Update: 2015-12-18
+
+--- node-core-util-is.orig/test.js
++++ node-core-util-is/test.js
+@@ -1,4 +1,4 @@
+-var assert = require('tap');
++var assert = require('assert');
+
+ var t = require('./lib/util');
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ff8f9ba
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+assert.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-core-util-is.git
More information about the Pkg-javascript-commits
mailing list