Skip to content

Commit 39377bc

Browse files
Chrnjasnell
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 f14a8e5 commit 39377bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/parallel/test-utf8-scripts.js

+1-1
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)