From b77574ea1c25e2630dcde000ae0fa32b01f8311e Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Fri, 7 Sep 2012 11:22:01 +0300 Subject: fixed tests (need to drop the toplevel block in "expected" if it's a single statement) --- test/run-tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/run-tests.js b/test/run-tests.js index 1f554e11..b70e2291 100755 --- a/test/run-tests.js +++ b/test/run-tests.js @@ -119,8 +119,8 @@ function parse_test(file) { }) ); var stat = node.body; - if (stat instanceof U.AST_BlockStatement) - stat.required = 1; + if (stat instanceof U.AST_BlockStatement && stat.body.length == 1) + stat = stat.body[0]; test[node.label.name] = stat; return true; } -- cgit v1.2.3 ts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/erlang.scm
AgeCommit message (Expand)Author
2019-04-07gnu: Add emacs-erlang....Carlo Zancanaro
2019-03-18Correct name and email address for ng0....ng0