[Pkg-javascript-commits] [node-buble] 01/02: Add a patch to adapt tests
Julien Puydt
julien.puydt at laposte.net
Mon Nov 13 07:56:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-buble.
commit 530da001d07db23c56bc8a1394f5a6c868a47ed5
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sun Nov 5 09:36:52 2017 +0100
Add a patch to adapt tests
---
debian/patches/fix_error_message.patch | 11 +++++++++++
debian/patches/series | 1 +
2 files changed, 12 insertions(+)
diff --git a/debian/patches/fix_error_message.patch b/debian/patches/fix_error_message.patch
new file mode 100644
index 0000000..bce415c
--- /dev/null
+++ b/debian/patches/fix_error_message.patch
@@ -0,0 +1,11 @@
+--- a/test/samples/block-scoping.js
++++ b/test/samples/block-scoping.js
+@@ -73,7 +73,7 @@
+ let x = 1;
+ let x = 2;
+ `,
+- error: /x is already declared/
++ error: /Identifier 'x' has already been declared/
+ },
+
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 48fcde8..e26155c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix_error_message.patch
find_acorn
fix-buble-path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-buble.git
More information about the Pkg-javascript-commits
mailing list