mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
13 lines
253 B
Text
13 lines
253 B
Text
# @TEST-EXEC-FAIL: bro -b %INPUT >out 2>&1
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out
|
|
|
|
function switch_one(v: count): string
|
|
{
|
|
switch (v) {
|
|
case 42:
|
|
return "42!";
|
|
case type count:
|
|
return "Count!";
|
|
}
|
|
}
|
|
|