       fs.makeTreeSync(path.join(directoryPath, 'subdir'))
 
       done = false
-      fs.remove directoryPath, (err, result) ->
+      fs.remove directoryPath, ->
         done = true
 
       waitsFor ->

      filePath = path.join(tempDir, 'non-existent-file')

      done = false
      fs.remove filePath, (err, result) ->
        done = true

      waitsFor ->

    tempDir = null

    beforeEach ->
      tempDir = temp.mkdirSync('fs-plus-')

    it "removes an existing file", ->
      filePath = path.join(tempDir, 'existing-file')
      fs.writeFileSync(filePath, '')

      done = false
      fs.remove filePath, ->
        done = true

      waitsFor ->
