%q replaced by %s in some error messages
This commit is contained in:
+3
-3
@@ -128,8 +128,8 @@ func TestGeneralParser(t *testing.T) {
|
||||
/* 114 */ {`2 + 1 ? {"a"} : {"b"} * 3`, "2bbb", nil},
|
||||
/* 115 */ {`nil`, nil, nil},
|
||||
/* 116 */ {`null`, nil, `undefined variable or function "null"`},
|
||||
/* 117 */ {`{"key"}`, nil, `[1:8] expected ":", got "}"`},
|
||||
/* 118 */ {`{"key":}`, nil, `[1:9] expected "dictionary-value", got "}"`},
|
||||
/* 117 */ {`{"key"}`, nil, "[1:8] expected `:`, got `}`"},
|
||||
/* 118 */ {`{"key":}`, nil, "[1:9] expected `dictionary-value`, got `}`"},
|
||||
/* 119 */ {`{}`, &DictType{}, nil},
|
||||
/* 120 */ {`v=10; v++; v`, int64(11), nil},
|
||||
/* 121 */ {`1+1|2+0.5`, float64(2), nil},
|
||||
@@ -144,6 +144,6 @@ func TestGeneralParser(t *testing.T) {
|
||||
}
|
||||
|
||||
// t.Setenv("EXPR_PATH", ".")
|
||||
// parserTestSpec(t, section, inputs, 102)
|
||||
//runTestSuiteSpec(t, section, inputs, 130)
|
||||
runTestSuite(t, section, inputs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user