BTests for indexing "table[pattern] of T" with strings

This commit is contained in:
Vern Paxson 2023-10-26 11:38:25 -04:00 committed by Arne Welzel
parent 699549eb45
commit fd1094a184
3 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.

View file

@ -0,0 +1,18 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
indexing empty, 0
single insert, match, [1]
single insert, non-match, []
multiple inserts, non-match, []
multiple inserts, single match, [3]
multiple inserts, double match, [1, 3]
triple match, [1, 3, 4]
embedded newline, /s operator, [6]
no embedded newline, /s vs. no /s operator, [5, 6, 7]
no embedded newline, case sensitive, /i vs. no /i operator, [7]
single delete, no more triple match, [1, 4]
double delete, no more double match, [4]
delete of non-existing pattern, [4]
shallow copy matches multi, [5, 6, 7]
deep copy matches multi, [5, 6, 7]
delete of entire table, []
reassignment of table, []