Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit 9e23a72

Browse files
committed
Revert "Update test fixtures for new version optimizations"
This reverts commit 35bb7c2. Fixes https://github.com/ChadKillingsworth/closure-compiler-npm/issues/33
1 parent 9fc1338 commit 9e23a72

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/gulp.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ 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");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';
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+
4953

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

0 commit comments

Comments
 (0)