Skip to content

Commit 73cc947

Browse files
committed
test: tighten non-object nodeOptions assertion
1 parent 3b0237e commit 73cc947

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-config-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ test('non object node options', async () => {
302302
`--experimental-config-file=${fixtures.path('rc/non-object-node-options.json')}`,
303303
'-p', '"Hello, World!"',
304304
]);
305-
assert.match(result.stderr, /Invalid configuration/);
305+
assert.match(result.stderr, /\/nodeOptions: expected type object, got string/);
306306
assert.strictEqual(result.stdout, '');
307307
assert.strictEqual(result.code, 9);
308308
});

0 commit comments

Comments
 (0)