             resultPath = path.join("./tests/results/multiple", file)
             if not right[resultPath]
               right[resultPath] = {}
-            right[resultPath].map = JSON.parse data.toString("utf-8")
-            right[resultPath].map.sources = right[resultPath].map.sources.map(
-              (file) -> path.relative(
-                process.cwd()
-                path.resolve "./tests/data/multiple", file
-              ).replace /\\/g, "/"
-            )
+            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
 

            )
            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", ->

          fs.readFile,
          "./tests/data/single/source.css.map"
        ).then(
          (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
