Skip to content

Commit 35bb7c2

Browse files
Update test fixtures for new version optimizations
1 parent 870afb5 commit 35bb7c2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/gulp.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ describe('gulp-google-closure-compiler', function() {
4545
contents: new Buffer('console.log("bar");')
4646
});
4747

48-
var fixturesCompiled = 'function log(a){console.log(a)}log("one.js");' +
49-
'var WindowInfo=function(){this.props=[]};WindowInfo.prototype.propList=function(){' +
50-
'for(var a in window)this.props.push(a)};WindowInfo.prototype.list=function(){' +
51-
'log(this.props.join(", "))};(new WindowInfo).list();\n';
52-
48+
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';
5349

5450
it('should emit an error for invalid options', function(done) {
5551
var stream = closureCompiler({

0 commit comments

Comments
 (0)