Compare commits

..

1 Commits

Author SHA1 Message Date
AdamKorcz
1d68b3a01a
Merge 26a5a3d8b8 into cc7738bb8d 2024-09-19 15:26:33 -04:00
2 changed files with 1 additions and 7 deletions

3
go.mod
View File

@ -30,6 +30,5 @@ require (
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
)
go 1.21.0
go 1.21
toolchain go1.22.5

View File

@ -11,11 +11,6 @@ func getExpressionParser() ExpressionParserInterface {
return ExpressionParser
}
func TestParserCreateMapColonOnItsOwn(t *testing.T) {
_, err := getExpressionParser().ParseExpression(":")
test.AssertResultComplex(t, "':' expects 2 args but there is 0", err.Error())
}
func TestParserNoMatchingCloseBracket(t *testing.T) {
_, err := getExpressionParser().ParseExpression(".cat | with(.;.bob")
test.AssertResultComplex(t, "bad expression - probably missing close bracket on WITH", err.Error())