mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
BTests for indexing "table[pattern] of T" with strings
This commit is contained in:
parent
699549eb45
commit
fd1094a184
3 changed files with 75 additions and 0 deletions
1
testing/btest/Baseline/language.pattern-tables/.stderr
Normal file
1
testing/btest/Baseline/language.pattern-tables/.stderr
Normal file
|
@ -0,0 +1 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
18
testing/btest/Baseline/language.pattern-tables/out
Normal file
18
testing/btest/Baseline/language.pattern-tables/out
Normal 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, []
|
Loading…
Add table
Add a link
Reference in a new issue