diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-15 10:07:15 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-15 10:07:15 -0500 |
| commit | ec405358bdbfc9ae3139daf1b26a7cbf03a4df8d (patch) | |
| tree | 51b6d340524d07a7847be5ef4b3197bec7cde168 /test/dz_comp | |
| parent | 038889280b48804b1368c18fb82c23622b82d075 (diff) | |
Proper reporting for failed execution in test/dz_comp
Diffstat (limited to 'test/dz_comp')
| -rwxr-xr-x | test/dz_comp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dz_comp b/test/dz_comp index 22bbdef8..f8d69c57 100755 --- a/test/dz_comp +++ b/test/dz_comp @@ -30,8 +30,8 @@ Cases ← (0<≠)◶0‿('#'≠⊑)¨⊸/ · •FLines "cases/"∾∾⟜".bqn" c ← ∾ Cases¨ files Trim ← ((∨`∧∨`⌾⌽)' '⊸≠)⊸/ M ← {e‿b: - Err ← {(@+10)∾˜""""∾b∾""": expected "∾e∾" but received "∾⍕𝕩} - (Native e) ≢◶""‿Err Exec b + Msg ← {(@+10)∾˜""""∾b∾""": expected "∾e∾" but "∾0⊸≢◶⟨"evaluation failed","received "∾·⍕⊑⟩𝕩} + (<Native e) ≢◶""‿Msg <∘Exec⎊0 b } r ← (M '%'⊸= (∨´⊣)◶⟨"1"≍○<⊢, Trim¨(+`-2⊸×)⊸⊔⟩ ⊢)¨ c •Out ("All "∾(⍕≠c)∾" passed!")⍟(0=≠) ∾r |
