Do not pass |global| into wrapping functions in tests, it's useless

This commit is contained in:
David Majda 2011-02-13 12:22:56 +01:00
parent cfc6041041
commit 3e7d31559d
4 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
(function(global) { (function() {
module("PEG.compiler.checks"); module("PEG.compiler.checks");
@ -65,4 +65,4 @@ test("reports left recursion", function() {
} }
}); });
})(this); })();

View file

@ -1,4 +1,4 @@
(function(global) { (function() {
module("PEG.compiler"); module("PEG.compiler");
@ -506,4 +506,4 @@ test("nested comments", function() {
); );
}); });
})(this); })();

View file

@ -1,4 +1,4 @@
(function(global) { (function() {
module("PEG.parser"); module("PEG.parser");
@ -589,4 +589,4 @@ test("parses whitespace", function() {
parserParses('start =\u3000"abcd"', simpleGrammar); parserParses('start =\u3000"abcd"', simpleGrammar);
}); });
})(this); })();

View file

@ -1,4 +1,4 @@
(function(global) { (function() {
module("PEG.compiler.passes"); module("PEG.compiler.passes");
@ -147,4 +147,4 @@ test("removes proxy rules", function() {
} }
}); });
})(this); })();