spec: Fix flags in fs.open
This commit is contained in:
		
					parent
					
						
							
								17c191201c
							
						
					
				
			
			
				commit
				
					
						b51e2f6453
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue