[Pkg-javascript-commits] [node-inline-source-map] 01/04: Patch tests to fix FTBFS

Ross Gammon ross-guest at moszumanska.debian.org
Thu Nov 24 21:24:40 UTC 2016


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

ross-guest pushed a commit to branch master
in repository node-inline-source-map.

commit e581d8f7f78db73804d68558caf08e3b201e25cc
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Thu Nov 24 21:14:19 2016 +0100

    Patch tests to fix FTBFS
    
    Closes: #844938
    Thanks: Jérémy Lal
---
 debian/patches/series     |  1 +
 debian/patches/tap8.patch | 42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3c4653f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+tap8.patch
diff --git a/debian/patches/tap8.patch b/debian/patches/tap8.patch
new file mode 100644
index 0000000..db35e58
--- /dev/null
+++ b/debian/patches/tap8.patch
@@ -0,0 +1,42 @@
+Description: Fix build failure with node-tap v 8.0.0
+ Call t.end to finish tests (latest tap compatibility)
+Author: Jérémy Lal <kapouer at melix.org>
+Bug: https://github.com/thlorenz/inline-source-map/issues/18
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844938
+Forwarded: https://github.com/thlorenz/inline-source-map/pull/19
+Applied-Upstream: Not yet
+Last-Update: 2016-11-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- node-inline-source-map.orig/test/inline-source-map.js
++++ node-inline-source-map/test/inline-source-map.js
+@@ -226,6 +226,7 @@
+     )
+     t.end()
+   })
++  t.end()
+ })
+ 
+ test('given mappings, with one having no original', function (t) {
+@@ -312,6 +313,7 @@
+     )
+     t.end()
+   })
++  t.end()
+ });
+ 
+ test('inline mapping url with charset opt', function(t){
+@@ -339,4 +341,5 @@
+ 
+     t.end();
+   });
++  t.end();
+ });
+--- node-inline-source-map.orig/test/source-content.js
++++ node-inline-source-map/test/source-content.js
+@@ -140,4 +140,5 @@
+     t.deepEqual(gen.toJSON()["sourcesContent"], [""])
+     t.end()
+   });
++  t.end();
+ })

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



More information about the Pkg-javascript-commits mailing list