diff --git a/test/parallel/test-util-inspect.js b/test/parallel/test-util-inspect.js index 4d7232b9fe51b0..634f27690e5a59 100644 --- a/test/parallel/test-util-inspect.js +++ b/test/parallel/test-util-inspect.js @@ -2906,6 +2906,7 @@ assert.strictEqual( util.inspect(x, { maxStringLength: 4 }), "'aaaa'... 999996 more characters" ); + assert.match(util.inspect(x, { maxStringLength: null }), /a'$/); } {