From 38756b1f269fec9fc7f13b82d014478662d00c4d Mon Sep 17 00:00:00 2001 From: Lucas Wiener Date: Thu, 28 Jul 2016 09:30:12 +0200 Subject: Moved test input files to test/input. --- test/mocha/input/issue-1236/simple.js | 8 -------- test/mocha/input/issue-1236/simple.js.map | 8 -------- test/mocha/minify.js | 4 ++-- 3 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 test/mocha/input/issue-1236/simple.js delete mode 100644 test/mocha/input/issue-1236/simple.js.map (limited to 'test/mocha') diff --git a/test/mocha/input/issue-1236/simple.js b/test/mocha/input/issue-1236/simple.js deleted file mode 100644 index 8bdd7f26..00000000 --- a/test/mocha/input/issue-1236/simple.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; - -var foo = function foo(x) { - return "foo " + x; -}; -console.log(foo("bar")); - -//# sourceMappingURL=simple.js.map diff --git a/test/mocha/input/issue-1236/simple.js.map b/test/mocha/input/issue-1236/simple.js.map deleted file mode 100644 index 28989e0f..00000000 --- a/test/mocha/input/issue-1236/simple.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": ["index.js"], - "names": [], - "mappings": ";;AAAA,IAAI,MAAM,SAAN,GAAM;AAAA,SAAK,SAAS,CAAd;AAAA,CAAV;AACA,QAAQ,GAAR,CAAY,IAAI,KAAJ,CAAZ", - "file": "simple.js", - "sourcesContent": ["let foo = x => \"foo \" + x;\nconsole.log(foo(\"bar\"));"] -} diff --git a/test/mocha/minify.js b/test/mocha/minify.js index b6e7a23f..2adbadcb 100644 --- a/test/mocha/minify.js +++ b/test/mocha/minify.js @@ -62,9 +62,9 @@ describe("minify", function() { describe("inSourceMap", function() { it("Should read the given string filename correctly when sourceMapIncludeSources is enabled (#1236)", function() { - var result = Uglify.minify('./test/mocha/input/issue-1236/simple.js', { + var result = Uglify.minify('./test/input/issue-1236/simple.js', { outSourceMap: "simple.js.min.map", - inSourceMap: "./test/mocha/input/issue-1236/simple.js.map", + inSourceMap: "./test/input/issue-1236/simple.js.map", sourceMapIncludeSources: true }); -- cgit v1.2.3