aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-03 14:24:29 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-04-03 14:24:29 -0400
commit42b296050a74d0d1cc2367dfa71fc22873a7df44 (patch)
treeaa7fa7bafb1c8ef29b9a6dabfa5d9c751a1dc42b
parent125d0553ca23cffd8808e3176d7c666e3f28d68b (diff)
Improve formatting for error cases
-rwxr-xr-xtest/exe6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/exe b/test/exe
index 96a4d6da..3f1ea43a 100755
--- a/test/exe
+++ b/test/exe
@@ -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