Skip to content

Commit 1d8359c

Browse files
Add additional unit tests
1 parent def19b5 commit 1d8359c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/kuery/test_parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def test_optimization(self):
107107
def test_blank_space(self):
108108
with self.assertRaises(kql.KqlParseError):
109109
kql.lark_parse('"Test-ServiceDaclPermission" or"Update-ExeFunctions"')
110+
kql.lark_parse('"Test-ServiceDaclPermission"and "Update-ExeFunctions"')
110111
kql.lark_parse('"Test-ServiceDaclPermission" or "Update-ExeFunctions"')
111112
kql.lark_parse('"Test-ServiceDaclPermission" \nor "Update-ExeFunctions"')
112113
kql.lark_parse('"Test-ServiceDaclPermission" or\n "Update-ExeFunctions"')
114+
kql.lark_parse('"Test-ServiceDaclPermissionOr" or\n "Update-ExeAndFunctions"')

0 commit comments

Comments
 (0)