diff -Nru node-diff-1.4.0~dfsg/debian/changelog node-diff-1.4.0~dfsg/debian/changelog --- node-diff-1.4.0~dfsg/debian/changelog 2020-02-13 11:25:28.000000000 +0100 +++ node-diff-1.4.0~dfsg/debian/changelog 2020-07-10 17:41:22.000000000 +0200 @@ -1,3 +1,10 @@ +node-diff (1.4.0~dfsg-4) UNRELEASED; urgency=medium + + * Update test expectation to match upstream change in V8 (Closes: #963063) + - debian/patches/fix-test-with-new-nodejs.patch + + -- Olivier Tilloy Fri, 10 Jul 2020 17:41:22 +0200 + node-diff (1.4.0~dfsg-3) unstable; urgency=medium * Team upload diff -Nru node-diff-1.4.0~dfsg/debian/patches/fix-test-with-new-nodejs.patch node-diff-1.4.0~dfsg/debian/patches/fix-test-with-new-nodejs.patch --- node-diff-1.4.0~dfsg/debian/patches/fix-test-with-new-nodejs.patch 1970-01-01 01:00:00.000000000 +0100 +++ node-diff-1.4.0~dfsg/debian/patches/fix-test-with-new-nodejs.patch 2020-07-10 17:41:02.000000000 +0200 @@ -0,0 +1,16 @@ +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 + +--- 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/ }); + }); + }); + diff -Nru node-diff-1.4.0~dfsg/debian/patches/series node-diff-1.4.0~dfsg/debian/patches/series --- node-diff-1.4.0~dfsg/debian/patches/series 2020-02-13 11:22:28.000000000 +0100 +++ node-diff-1.4.0~dfsg/debian/patches/series 2020-07-10 17:38:30.000000000 +0200 @@ -1 +1,2 @@ 2001_avoid_privacy_breach.patch +fix-test-with-new-nodejs.patch