Permalink
Browse files

fix failing tests

  • Loading branch information...
1 parent 2336e7b commit 8e1a5e1b1e975e271f23d6899ffb2b0378fbe405 @tkellen tkellen committed Dec 5, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/requirejs_test.js
View
@@ -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');
@@ -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.