fixed tests (need to drop the toplevel block in "expected" if it's a single statement)

This commit is contained in:
Mihai Bazon
2012-09-07 11:22:01 +03:00
parent 9bb1a84d6b
commit b77574ea1c
3 changed files with 3 additions and 6 deletions

View File

@@ -232,9 +232,6 @@ var AST_Scope = DEFNODE("Scope", "variables functions uses_with uses_eval parent
}, AST_Block);
var AST_Toplevel = DEFNODE("Toplevel", null, {
initialize: function() {
this.required = true;
},
$documentation: "The toplevel scope"
}, AST_Scope);