Skip to content

Commit

Permalink
Update test fixtures for new version optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
ChadKillingsworth committed Jul 15, 2016
1 parent 870afb5 commit 35bb7c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/gulp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 35bb7c2

Please sign in to comment.