summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/internal/assert/assertion_error.js2
-rw-r--r--test/parallel/test-assert.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/assert/assertion_error.js b/lib/internal/assert/assertion_error.js
index cdeba1941c..3734796e2d 100644
--- a/lib/internal/assert/assertion_error.js
+++ b/lib/internal/assert/assertion_error.js
@@ -22,7 +22,7 @@ const kReadableOperator = {
notStrictEqualObject:
'Expected "actual" not to be reference-equal to "expected":',
notDeepEqual: 'Expected "actual" not to be loosely deep-equal to:',
- notIdentical: 'Values identical but not reference-equal:',
+ notIdentical: 'Values have same structure but are not reference-equal:',
notDeepEqualUnequal: 'Expected values not to be loosely deep-equal:'
};
diff --git a/test/parallel/test-assert.js b/test/parallel/test-assert.js
index 2959f54c7a..f65caac433 100644
--- a/test/parallel/test-assert.js
+++ b/test/parallel/test-assert.js
@@ -1101,7 +1101,7 @@ assert.throws(() => { throw null; }, 'foo');
assert.throws(
() => assert.strictEqual([], []),
{
- message: 'Values identical but not reference-equal:\n\n[]\n'
+ message: 'Values have same structure but are not reference-equal:\n\n[]\n'
}
);