parser: token '()' returns error

This commit is contained in:
2026-04-30 07:03:28 +02:00
parent 116b54836f
commit 75a3f220df
2 changed files with 19 additions and 15 deletions
+12
View File
@@ -147,3 +147,15 @@ func TestGeneralParser(t *testing.T) {
// runTestSuiteSpec(t, section, inputs, 114)
runTestSuite(t, section, inputs)
}
func TestSpecialParser(t *testing.T) {
section := "Parser"
inputs := []inputType{
/* 1 */ {`()`, nil, `[1:2] expected expression, got "()"`},
}
// t.Setenv("EXPR_PATH", ".")
// runTestSuiteSpec(t, section, inputs, 114)
runTestSuite(t, section, inputs)
}