zeek/testing/btest/language/dangling-at.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

9 lines
213 B
Plaintext

# @TEST-EXEC-FAIL: zeek -b %INPUT
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
# Check that dangling conditionals are detected.
@if ( 1==1 )
print "it's true!";
@else
lalala