should merge setups if there are more than one

Issue #73 new
zck
repo owner created an issue

We might as well merge the setup blocks if there are more than one. For example:

arc> (suite two-setups (setup a 1) (setup b 2) (test add (assert-same 3 (+ a b))))
two-setups:     1 test,     0 nested suites.
#hash()
arc> (test two-setups)
Suite two-setups:
two-setups.add failed: _b: undefined;
 cannot reference an identifier before its definition
  in module: "/home/zck/programs/arc/anarki/ac.scm"
In suite two-setups, 0 of 1 tests passed.

Oh dear, 1 of 1 failed.
(0 1)

Comments (0)

  1. Log in to comment