Skip to content

Commit ea94228

Browse files
committed
standard
1 parent 6970779 commit ea94228

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ If we discover bugs in this implementation, I'm going to report them back to
1212
node core.
1313

1414
Differences from the core implementation:
15+
1516
- Doesn't hide its own stack frames
1617
- Uses `._private` property names instead of `#private` fields,
17-
for compatibility
18+
for compatibility
1819

1920
## Usage
2021

test/message.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ const main = async () => {
2424
actual = err.stdout.trim()
2525
}
2626
const reg = new RegExp(
27-
expected
28-
.replace(/\+/g, '\\+')
29-
.replace(/\*/g, '.*')
27+
expected.replace(/\+/g, '\\+').replace(/\*/g, '.*')
3028
)
3129
try {
3230
assert(reg.test(actual))
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// https://github.com/cjihrig/node/blob/527eb5caa5feae3b748d9c5b74b256edbb40a775/test/message/test_runner_unresolved_promise.js
22
// Flags: --no-warnings
33

4-
'use strict';
4+
'use strict'
55

6-
const test = require('../..');
6+
const test = require('../..')
77

8-
test('pass');
9-
test('never resolving promise', () => new Promise(() => {}));
10-
test('fail');
8+
test('pass')
9+
test('never resolving promise', () => new Promise(() => {}))
10+
test('fail')

0 commit comments

Comments
 (0)