Skip to content

Commit 5943cec

Browse files
authored
test: migrate console_assert.js from python to js
1 parent 7c5c4c0 commit 5943cec

4 files changed

Lines changed: 3 additions & 2 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
22

3-
require('../common');
3+
require('../../common');
44

55
console.assert(false, Symbol('hello'));
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Assertion failed Symbol(hello)

β€Žtest/message/console_assert.outβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žtest/parallel/test-node-output-console.mjsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe('console output', { concurrency: !process.env.TEST_PARALLEL }, () => {
1717
}
1818
const tests = [
1919
{ name: 'console/2100bytes.js' },
20+
{ name: 'console/console_assert.js' },
2021
{ name: 'console/console_low_stack_space.js' },
2122
{ name: 'console/console.js' },
2223
{ name: 'console/hello_world.js' },

0 commit comments

Comments
Β (0)