Skip to content

Commit

Permalink
test: fix assertion order
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Chrn authored and addaleax committed Oct 20, 2018
1 parent cd07dc9 commit ad3c820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-utf8-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ const assert = require('assert');

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

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

0 comments on commit ad3c820

Please sign in to comment.