1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Yadd <yadd@debian.org>
Date: Wed, 19 Nov 2025 16:25:23 +0100
Subject: fix test for nodejs 20
Bug-Debian: https://bugs.debian.org/1072603
Forwarded: not-needed
Last-Update: 2024-06-10
Error strings chenged
---
test/helpful.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/test/helpful.js b/test/helpful.js
index 4b6edbb..f691184 100644
--- a/test/helpful.js
+++ b/test/helpful.js
@@ -6,7 +6,6 @@ var p = path.resolve(__dirname, 'fixtures/erroneous.json')
tap.test('erroneous package data', function (t) {
readJson(p, function (er, data) {
t.ok(er instanceof Error)
- t.ok(er.message.match(/Unexpected token "'" \(0x27\)/))
t.end()
})
})
|