Another fix to tests
This commit is contained in:
parent
c0d9f950ab
commit
7d16701691
|
@ -124,7 +124,7 @@ func TestInst_SetBuiltin(t *testing.T) {
|
||||||
want string
|
want string
|
||||||
}{
|
}{
|
||||||
{descr: "pass via args", expr: `join (add2 "left" "right")`, want: "left:right"},
|
{descr: "pass via args", expr: `join (add2 "left" "right")`, want: "left:right"},
|
||||||
{descr: "pass via vars", expr: `set x (add2 "blue" "green") ; join $x`, want: "blue:green"},
|
{descr: "pass via vars", expr: `$x = (add2 "blue" "green") ; join $x`, want: "blue:green"},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
|
|
Loading…
Reference in a new issue