mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
test suite update for minor change in "when" error messages
This commit is contained in:
parent
61891e615a
commit
910b50ef0d
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/when-capture-errors.zeek, lines 19-22: "when" statement referring to locals without an explicit [] capture: orig1 (when (0 < g) { print orig1})
|
||||
error in <...>/when-capture-errors.zeek, lines 19-22: orig1 is used inside "when" statement but not captured (when (0 < g) { print orig1})
|
||||
error in <...>/when-capture-errors.zeek, lines 25-28: orig3 is used inside "when" statement but not captured (when (0 < g || orig3) { print g})
|
||||
error in <...>/when-capture-errors.zeek, lines 34-38: orig1 is used inside "when" statement but not captured (when (0 < g) { print g} timeout 1.0 sec { print orig1})
|
||||
error in <...>/when-capture-errors.zeek, lines 66-70: orig2 is used inside "when" statement but not captured (when (0 < g) { print orig1} timeout 1.0 sec { print orig2})
|
||||
|
|
|
@ -15,7 +15,7 @@ event zeek_init()
|
|||
print g;
|
||||
}
|
||||
|
||||
# Should generate a deprecation warning.
|
||||
# Should generate an error.
|
||||
when ( g > 0 )
|
||||
{
|
||||
print orig1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue