From: Cheng Zhao Date: Mon, 19 Jan 2015 23:36:56 +0000 (-0800) Subject: Update asar specs X-Git-Tag: v0.20.7~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=96f24b88eae2dcd8cb5817a367105ffa09fb9f1c;p=electron.git Update asar specs --- diff --git a/spec/asar-spec.coffee b/spec/asar-spec.coffee index b48394f8..5e52f4ee 100644 --- a/spec/asar-spec.coffee +++ b/spec/asar-spec.coffee @@ -395,12 +395,6 @@ describe 'asar package', -> describe 'original-fs module', -> originalFs = require 'original-fs' - it 'uses the original fs api', -> - changedApis = ['readFile', 'stat', 'lstat', 'realpath', 'exists'] - unchangedApis = ['read', 'write', 'writeFile', 'close'] - assert.notStrictEqual fs[api], originalFs[api] for api in changedApis - assert.strictEqual fs[api], originalFs[api] for api in unchangedApis - it 'treats .asar as file', -> file = path.join fixtures, 'asar', 'a.asar' stats = originalFs.statSync file