zeek/testing/btest/language/enum-desc.bro
Jon Siwek 2e853a3892 Change presentation of enum val to include namespace.
Enum vals now add their full identifier string, including module
namespace to ODescs.
2011-08-31 10:57:19 -05:00

15 lines
215 B
Text

# @TEST-EXEC: bro -b %INPUT >output
# @TEST-EXEC: btest-diff output
type test_enum1: enum { ONE };
module TEST;
type test_enum2: enum { TWO };
print ONE;
print fmt("%s", ONE);
print TWO;
print fmt("%s", TWO);