mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-26 12:55:58 +08:00
spec: Test localeCompare in child process
This commit is contained in:
@@ -41,6 +41,13 @@ describe 'node feature', ->
|
||||
done()
|
||||
child.send 'message'
|
||||
|
||||
it 'has String::localeCompare working in script', (done) ->
|
||||
child = child_process.fork path.join(fixtures, 'module', 'locale-compare.js')
|
||||
child.on 'message', (msg) ->
|
||||
assert.deepEqual msg, [0, -1, 1]
|
||||
done()
|
||||
child.send 'message'
|
||||
|
||||
describe 'contexts', ->
|
||||
describe 'setTimeout in fs callback', ->
|
||||
it 'does not crash', (done) ->
|
||||
|
||||
Reference in New Issue
Block a user