Skip to content

Commit ac0a03a

Browse files
ChrnMylesBorins
authored andcommitted
test: fix assertion order
PR-URL: #23533 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 00c028f commit ac0a03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-utf8-scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ const assert = require('assert');
2727

2828
console.log('Σὲ γνωρίζω ἀπὸ τὴν κόψη');
2929

30-
assert.strictEqual(true, /Hellö Wörld/.test('Hellö Wörld'));
30+
assert.strictEqual(/Hellö Wörld/.test('Hellö Wörld'), true);

0 commit comments

Comments
 (0)