summaryrefslogtreecommitdiff
path: root/test/parallel/test-assert-first-line.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-assert-first-line.js')
-rw-r--r--test/parallel/test-assert-first-line.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-assert-first-line.js b/test/parallel/test-assert-first-line.js
index 32eadbf741..f9d4a8b06c 100644
--- a/test/parallel/test-assert-first-line.js
+++ b/test/parallel/test-assert-first-line.js
@@ -9,7 +9,7 @@ const { path } = require('../common/fixtures');
assert.throws(
() => require(path('assert-first-line')),
{
- name: 'AssertionError [ERR_ASSERTION]',
+ name: 'AssertionError',
message: "The expression evaluated to a falsy value:\n\n ässört.ok('')\n"
}
);
@@ -17,7 +17,7 @@ assert.throws(
assert.throws(
() => require(path('assert-long-line')),
{
- name: 'AssertionError [ERR_ASSERTION]',
+ name: 'AssertionError',
message: "The expression evaluated to a falsy value:\n\n assert.ok('')\n"
}
);