new operator 'map' ans general variable access by ${}

This commit is contained in:
2026-04-24 20:11:25 +02:00
parent 20d8236325
commit 6ee365bacc
10 changed files with 134 additions and 23 deletions
+3 -1
View File
@@ -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)
}