From 35bb7c20d58207f469d40eb5efce30051f522ae6 Mon Sep 17 00:00:00 2001 From: Chad Killingsworth Date: Fri, 15 Jul 2016 13:19:42 -0500 Subject: [PATCH] Update test fixtures for new version optimizations --- test/gulp.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/gulp.js b/test/gulp.js index af0d0b51..659bde90 100644 --- a/test/gulp.js +++ b/test/gulp.js @@ -45,11 +45,7 @@ describe('gulp-google-closure-compiler', function() { contents: new Buffer('console.log("bar");') }); - var fixturesCompiled = 'function log(a){console.log(a)}log("one.js");' + - 'var WindowInfo=function(){this.props=[]};WindowInfo.prototype.propList=function(){' + - 'for(var a in window)this.props.push(a)};WindowInfo.prototype.list=function(){' + - 'log(this.props.join(", "))};(new WindowInfo).list();\n'; - + var fixturesCompiled = 'function log(a){console.log(a)}log("one.js");var WindowInfo=function(){this.props=[]};WindowInfo.prototype.propList=function(){for(var a in window)this.props.push(a)};WindowInfo.prototype.WindowInfo_prototype$list=function(){log(this.props.join(", "))};(new WindowInfo).WindowInfo_prototype$list();\n'; it('should emit an error for invalid options', function(done) { var stream = closureCompiler({