]> khamidou — GitHub mirrors - electron.git/commitdiff
Update asar specs
authorCheng Zhao <zcbenz@gmail.com>
Mon, 19 Jan 2015 23:36:56 +0000 (15:36 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 19 Jan 2015 23:36:56 +0000 (15:36 -0800)
spec/asar-spec.coffee

index b48394f8e21df0c843d3c2e376ea6b6d26e256f1..5e52f4ee22fdfe5d6fb2d0d96090f8b94439b012 100644 (file)
@@ -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