diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-03 14:24:29 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-03 14:24:29 -0400 |
| commit | 42b296050a74d0d1cc2367dfa71fc22873a7df44 (patch) | |
| tree | aa7fa7bafb1c8ef29b9a6dabfa5d9c751a1dc42b | |
| parent | 125d0553ca23cffd8808e3176d7c666e3f28d68b (diff) | |
Improve formatting for error cases
| -rwxr-xr-x | test/exe | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -17,4 +17,8 @@ lf ← @+10 code‿r‿err ← {inp⇐∾∾⟜lf¨i∾⟨""⟩} •SH exe err ! 0≡code rv ← (•BQN¨e) = (•BQN "⟨"∾r∾"⟩") -•Out (0<≠)◶⟨"All "∾(⍕≠c)∾" passed!"˙,(⍕≠)∾" failed!"˙⟩ /1≢¨rv +np ← ⍕≠c +•Out (0<≠)◶⟨ + "All "∾np∾" passed!"˙ + (⍕≠)∾" of "∾np∾" failed:"∾·(∾lf⊸∾¨)⊏⟜c +⟩ /1≢¨rv |
