diff --git a/pyproject.toml b/pyproject.toml index 813cf2c2..6bb4c8dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ requires-python = ">= 3.10" dependencies = [ "argcomplete>=3.6.1", "tree-sitter==0.25.2", - "tree-sitter-zeek==0.2.14", + "tree-sitter-zeek==0.2.15", ] [project.optional-dependencies] diff --git a/tests/__snapshots__/test_samples/test_samples[expression.zeek].raw b/tests/__snapshots__/test_samples/test_samples[expression.zeek].raw index 75abb6fd..20b1e3bd 100644 --- a/tests/__snapshots__/test_samples/test_samples[expression.zeek].raw +++ b/tests/__snapshots__/test_samples/test_samples[expression.zeek].raw @@ -32,3 +32,6 @@ const machine_types: table[count] of string = { # Single element curly braced init can go on one line const thing: table[count] of string = {[123] = "onetwothree"}; + +print "0.0.0.0" ?as addr; +print "123" ?as addr; diff --git a/tests/samples/expression.zeek b/tests/samples/expression.zeek index 3cc14015..bf58d073 100644 --- a/tests/samples/expression.zeek +++ b/tests/samples/expression.zeek @@ -14,3 +14,6 @@ const machine_types: table[count] of string = { [0x00] = "UNKNOWN", # Single element curly braced init can go on one line const thing: table[count] of string = {[123] = "onetwothree"}; + +print "0.0.0.0"?as addr; +print "123" ?as addr;