new operator 'map' ans general variable access by ${}
This commit is contained in:
+3
-1
@@ -43,9 +43,11 @@ func TestExpr(t *testing.T) {
|
||||
it++;
|
||||
it++
|
||||
`, int64(1), nil},
|
||||
/* 20 */ {`a=2; ${a}`, int64(2), nil},
|
||||
/* 21 */ {`$_=2; $_`, int64(2), nil},
|
||||
}
|
||||
// t.Setenv("EXPR_PATH", ".")
|
||||
|
||||
// runTestSuiteSpec(t, section, inputs, 18)
|
||||
// runTestSuiteSpec(t, section, inputs, 21)
|
||||
runTestSuite(t, section, inputs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user