           fs.readFile,
           "./tests/data/single/source.css.map"
         ).then(
-          (map) ->
-            right.sourcemap = JSON.parse(map.toString "utf-8")
+          (sourcemap) ->
+            right.sourcemap = JSON.parse(sourcemap.toString "utf-8")
             right.sourcemap.sources = right.sourcemap.sources.map(
               (file) -> path.relative(
                 process.cwd(), path.resolve "./tests/data/single", file

            )
            promises.push q.nfcall(
              fs.readFile, file + ".map"
            ).then((data) -> expect(JSON.parse data).eql right[file].map)
          q.all(promises).done (-> done()), done
      )
  describe "Glob test case", ->

            resultPath = path.join("./tests/results/multiple", file)
            if not right[resultPath]
              right[resultPath] = {}
            right[resultPath].sourcemap = JSON.parse data
            right[resultPath].sourcemap.sources =
              right[resultPath].sourcemap.sources.map(
                (file) -> path.relative(
                  process.cwd()
                  path.resolve "./tests/data/multiple", file
                ).replace /\\/g, "/"
              )
        )
      q.all(promises).done (-> done()), done

