mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Previously we would already trim leading spaces in inputs to `to_count` and `to_int`, effectively by just passing the behavior of the low-level functions used in their implementations to the user. While this was useful it was also inconsistent in that we did not allow trailing spaces which we enable with this patch.
4 lines
386 B
Text
4 lines
386 B
Text
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
error in <...>/to_count.zeek, line 8: bad conversion to count (int_to_count(a) and -2)
|
|
error in <...>/to_count.zeek, line 20: bad conversion to count (to_count() and )
|
|
error in <...>/to_count.zeek, line 25: bad conversion to count (to_count(not a count) and not a count)
|