Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Kellen committed Dec 5, 2012
1 parent 2336e7b commit 8e1a5e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/requirejs_test.js
Expand Up @@ -8,7 +8,7 @@ exports['requirejs'] = {

test.expect(1);

expect = 'define("hello",[],function(){return"hello"}),define("world",[],function(){return"world"}),require(["hello","world"],function(e,t){console.log(e,t)}),define("project",function(){})';
expect = 'define("hello",[],function(){return"hello"}),define("world",[],function(){return"world"}),require(["hello","world"],function(e,t){console.log(e,t)}),define("project",function(){});';
result = grunt.file.read('tmp/requirejs.js');
test.equal(expect, result, 'should optimize javascript modules with requireJS');

Expand All @@ -22,10 +22,10 @@ exports['requirejs'] = {

test.expect(1);

expect = 'define("hello",[],function(){return"hello"}),define("world",[],function(){return"world"}),require(["hello","world"],function(e,t){console.log(e,t)}),define("project",function(){})';
expect = 'define("hello",[],function(){return"hello"}),define("world",[],function(){return"world"}),require(["hello","world"],function(e,t){console.log(e,t)}),define("project",function(){});';
result = grunt.file.read('tmp/requirejs-template.js');
test.equal(expect, result, 'should process options with template variables.');

test.done();
}
};
};

0 comments on commit 8e1a5e1

Please sign in to comment.