zeek/testing/btest/Baseline/language.assert-hook-8
Arne Welzel 6572324b8c Stmt: Fix assert evaluating cond twice
Since 81a9745fb3, the assert condition is
evaluated twice. This leads to unexpected behavior when cond has a side
effect like publishing a message or creating a log stream or filter.

Found while using the following in ad-hoc testing code and wondering
why two messages were published.

    assert publish(Cluster::worker_topic, hello, "abc")
2024-03-04 15:30:09 +01:00
..
.stderr Stmt: Fix assert evaluating cond twice 2024-03-04 15:30:09 +01:00
out Stmt: Fix assert evaluating cond twice 2024-03-04 15:30:09 +01:00