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 <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
Chrn authored and MylesBorins committed Nov 29, 2018
1 parent 5bea331 commit 860a097
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 860a097

Please sign in to comment.