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

redux
David Majda 14 years ago
parent cfc6041041
commit 3e7d31559d

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

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

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

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

Loading…
Cancel
Save