aboutsummaryrefslogtreecommitdiff
path: root/test/bt
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-30 16:47:17 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-30 16:48:45 -0400
commit0d13401bde67f9e8106d8189eec2edb9662d4436 (patch)
treee173ed7d9241f15229c763dce56c6e94f01f8218 /test/bt
parentdb99d751e2940ad1ca53b5461cce7bd734a06fba (diff)
Support modified assignment
Diffstat (limited to 'test/bt')
-rwxr-xr-xtest/bt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bt b/test/bt
index c5ca1399..373bb5f0 100755
--- a/test/bt
+++ b/test/bt
@@ -2,7 +2,7 @@
dRun ← ⟨"dRun"⟩ •EX •path∾"../cshim.bqn"
c ← ∾(•LNS •path∾∾⟜"cases.bqn")¨""‿"b"
-{ c ∾↩ (¬"{"⊑∘∊⊢)¨⊸/ "1 %"⊸∾¨ (3≤≠)◶0‿(('#'≠2⊸⊑)∧" "≡2⊸↑)¨⊸/ •LNS •path∾"testref.bqn" }⍟⊢(<"-ref")∊•args
+{ c ∾↩ (¬":"⊑∘∊⊢)¨⊸/ "1 %"⊸∾¨ (3≤≠)◶0‿(('#'≠2⊸⊑)∧" "≡2⊸↑)¨⊸/ •LNS •path∾"testref.bqn" }⍟⊢(<"-ref")∊•args
M ← {e‿b: (⍎e)⊸≢◶""‿{(•UCS 10)∾˜""""∾b∾""": expected "∾e∾" but received "∾⍕𝕩} DRun b}
r ← '%' M∘((+`-2⊸×)∘=⊔⊢)¨ c
• ← ("All "∾(⍕≠c)∾" passed!")⍟(0=≠) ∾r