@@ -294,7 +294,6 @@ function parse_test(file) {
|
||||
if (label.name == "expect_exact" || label.name == "node_version") {
|
||||
test[label.name] = read_string(stat);
|
||||
} else if (label.name == "expect_stdout") {
|
||||
if (stat.TYPE == "SimpleStatement") {
|
||||
var body = stat.body;
|
||||
if (body instanceof U.AST_Boolean) {
|
||||
test[label.name] = body.value;
|
||||
@@ -311,7 +310,6 @@ function parse_test(file) {
|
||||
}));
|
||||
return node.value;
|
||||
}));
|
||||
}
|
||||
} else {
|
||||
test[label.name] = read_string(stat) + "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user