mirror of
https://github.com/electron/electron.git
synced 2026-01-24 14:57:58 -05:00
spec: Fix flags in fs.open
This commit is contained in:
@@ -328,7 +328,7 @@ describe 'asar package', ->
|
||||
|
||||
it 'throws ENOENT error when can not find file', (done) ->
|
||||
p = path.join fixtures, 'asar', 'a.asar', 'not-exist'
|
||||
fs.open p, (err, stats) ->
|
||||
fs.open p, 'r', (err, stats) ->
|
||||
assert.equal err.code, 'ENOENT'
|
||||
done()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user