From c90bf5ac2daae9653a4e092e0dbd088d34bbf7e7 Mon Sep 17 00:00:00 2001 From: Isiah Meadows Date: Thu, 9 Mar 2017 12:29:04 -0500 Subject: [PATCH] Fix a few syntax errors --- bundler/tests/test-bundler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundler/tests/test-bundler.js b/bundler/tests/test-bundler.js index f934afcc..69aeba2c 100644 --- a/bundler/tests/test-bundler.js +++ b/bundler/tests/test-bundler.js @@ -90,7 +90,7 @@ o.spec("bundler", function() { write("b.js", '"use strict"\nmodule.exports = 1') bundle(ns + "a.js", ns + "out.js") - o(read("out.js")).equals(";(function() {\n"use strict"\nvar b = 1\n}());") + o(read("out.js")).equals(';(function() {\n"use strict"\nvar b = 1\n}());') remove("a.js") remove("b.js") @@ -112,7 +112,7 @@ o.spec("bundler", function() { write("b.js", "'use strict'\nmodule.exports = 1") bundle(ns + "a.js", ns + "out.js") - o(read("out.js")).equals(";(function() {\n"use strict"\nvar b = 1\n}());") + o(read("out.js")).equals(';(function() {\n"use strict"\nvar b = 1\n}());') remove("a.js") remove("b.js") @@ -229,7 +229,7 @@ o.spec("bundler", function() { write("c.js", "var cc = 2\nmodule.exports = cc") bundle(ns + "a.js", ns + "out.js") - o(read("out.js")).equals(";(function() {\nvar x = {}\nvar bb = 1\nx["b"] = bb\nvar cc = 2\nx["c"] = cc\n}());") + o(read("out.js")).equals(';(function() {\nvar x = {}\nvar bb = 1\nx["b"] = bb\nvar cc = 2\nx["c"] = cc\n}());') remove("a.js") remove("b.js")