'join' operator renamed as 'cat'
This commit is contained in:
+4
-4
@@ -75,11 +75,11 @@ func TestOperatorDigest(t *testing.T) {
|
||||
runTestSuite(t, section, inputs)
|
||||
}
|
||||
|
||||
func TestOperatorJoin(t *testing.T) {
|
||||
section := "Operator-Join"
|
||||
func TestOperatorCat(t *testing.T) {
|
||||
section := "Operator-Cat"
|
||||
inputs := []inputType{
|
||||
/* 1 */ {`["a","b"] join ["x"]`, kern.NewList([]any{"a", "b", "x"}), nil},
|
||||
/* 2 */ {`["a","b"] join ["x"-true]`, nil, `[1:21] left operand 'x' [string] and right operand 'true' [bool] are not compatible with operator "-"`},
|
||||
/* 1 */ {`["a","b"] cat ["x"]`, kern.NewList([]any{"a", "b", "x"}), nil},
|
||||
/* 2 */ {`["a","b"] cat ["x"-true]`, nil, `[1:20] left operand 'x' [string] and right operand 'true' [bool] are not compatible with operator "-"`},
|
||||
}
|
||||
|
||||
// runTestSuiteSpec(t, section, inputs, 2)
|
||||
|
||||
Reference in New Issue
Block a user