Skip to content

Commit 4fcbbb4

Browse files
committed
Update unit-test.
1 parent 91de296 commit 4fcbbb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function prototypeString() {
259259
str = '// Configuration\nname : total.js\nage : 29\n// comment1 : comment1\n# comment2 : comment2\ndebug : false';
260260
assert.ok(JSON.stringify(str.parseConfig({ comment3: 'comment3' })) === '{"comment3":"comment3","name":"total.js","age":"29","debug":"false"}', 'String.parseConfig()');
261261

262-
assert.ok('á'.localeCompare2('a') === 0, 'localeCompare2 - 1');
262+
assert.ok('á'.localeCompare2('a') === 1, 'localeCompare2 - 1');
263263
assert.ok('á'.localeCompare2('b') === -1, 'localeCompare2 - 2');
264264
assert.ok('č'.localeCompare2('b') === 1, 'localeCompare2 - 3');
265265
}

0 commit comments

Comments
 (0)