aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-02-15 20:52:54 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-02-15 20:59:31 -0500
commit19d4e4da6a93deb398f87bb6b42b1b1ee3c4926e (patch)
treecba3ffb2e035aae2cc828d3289f5e586c2bd4589 /test
parent4fd3566067b123ba53e0923520bdc8e19fad7d83 (diff)
Give an empty result, not an error, whenever 𝕨 is longer than 𝕩 in Find
Diffstat (limited to 'test')
-rw-r--r--test/cases/prim.bqn2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cases/prim.bqn b/test/cases/prim.bqn
index f8abfd00..1bb3959b 100644
--- a/test/cases/prim.bqn
+++ b/test/cases/prim.bqn
@@ -475,6 +475,8 @@
! % ≍⊸⍷"abc"
0‿1‿0‿0≡"abc"⍷"aabcba"
(0‿1≍0‿0)≡(1‿2≍4‿5)⍷3‿3⥊↕9
+(↕3‿0)≡⍷⟜(≍˘)"abc"
+'a'(=≡⍷)"abc"
(⌽¨≡⍉)↕2⥊3
(⍉≡<)'a'
∧´⍉⊸≡¨⟨<'a',"a","abc",""⟩