mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: fix assertion order
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
committed by
Daniel Bevenius
parent
3b1baf6372
commit
98d1d53b20
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user