       result = new FakeFile 'path',
         base: 'hhah', cwd: '/path/dff', load:true
       result.loadContent buffer:false, (err, contents)->
-        return done(err) unless err
+        return done(err) if err
         should.exist contents
         contents.should.be.instanceof Stream
         contents.should.be.equal result.contents
         result.loadContent buffer:false, reload:true, (err, contents1)->
-          return done(err) unless err
+          return done(err) if err
           should.exist contents1
           contents1.should.be.instanceof Stream
           contents1.should.not.be.equal contents

    it 'should get relative path', ->
      result = new File path: '/path/dff/xie', base: 'hhah', cwd: '/path/dff'
      result.relative.should.be.equal '../xie'
  describe '#dirname', ->
    it 'should get dirname', ->
      result = new File path: '/path/dff/xie', base: 'hhah', cwd: '/path/dff'

    it 'should load content buffer', (done)->
      result = new FakeFile 'path',
        base: 'hhah', cwd: '/path/dff'
      result.loadContent (err, contents)->
        should.exist contents
        contents.should.be.instanceof Buffer
        done(err)
