Skip to content
Snippets Groups Projects
Commit 8498ca1b authored by Gianfranco Costamagna's avatar Gianfranco Costamagna
Browse files

Fix build failure with newer nodejs (Closes: #963063)

parent e5f32e81
No related branches found
No related tags found
No related merge requests found
node-diff (1.4.0~dfsg-4) unstable; urgency=medium
[ Gianfranco Costamagna ]
* Team upload
[ Olivier Tilloy ]
* Update test expectation to match upstream change in V8 (Closes: #963063)
- debian/patches/fix-test-with-new-nodejs.patch
-- Olivier Tilloy <olivier.tilloy@canonical.com> Fri, 10 Jul 2020 17:41:22 +0200
node-diff (1.4.0~dfsg-3) unstable; urgency=medium
* Team upload
......
Description: update test expectation to match upstream change in V8
(see https://chromium-review.googlesource.com/c/v8/v8/+/1433776)
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963063
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
--- a/test/diffTest.js
+++ b/test/diffTest.js
@@ -317,7 +317,7 @@ describe('#diffJson', function() {
circular,
{foo: 123, bar: {}}
);
- }.should['throw']('Converting circular structure to JSON'));
+ }).should.throw({ name: 'TypeError', message: /^Converting circular structure to JSON/ });
});
});
2001_avoid_privacy_breach.patch
fix-test-with-new-nodejs.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment