completed list-type to array-type conversion and fixed common test module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) 2024-2026 Celestino Amoroso (celestino.amoroso@gmail.com).
|
||||
// All rights reserved.
|
||||
|
||||
// t_template_test.go
|
||||
// t_relational_test.go
|
||||
package expr
|
||||
|
||||
import (
|
||||
@@ -40,13 +40,17 @@ func TestRelational(t *testing.T) {
|
||||
/* 27 */ {`[1,2,3] > [9]`, false, nil},
|
||||
/* 28 */ {`[1,2,3] >= [6]`, false, nil},
|
||||
/* 29 */ {`[1,2,3] >= [2,6]`, false, nil},
|
||||
/* 30 */ {`[1,[2,3],4] > [[3,2]]`, true, nil},
|
||||
/* 31 */ {`[1,[2,[3,4]],5] > [[[4,3],2]]`, true, nil},
|
||||
/* 32 */ {`[[4,3],2] IN [1,[2,[3,4]],5]`, true, nil},
|
||||
/* 30 */ {`[1,[2,3],4] > [[3,2]]`, false, nil},
|
||||
/* 31 */ {`[1,[2,3],4] > [[2,3]]`, true, nil},
|
||||
/* 32 */ {`[1,[2,[3,4]],5] > [[[4,3],2]]`, false, nil},
|
||||
/* 33 */ {`[1,[2,[3,4]],5] > [[2,[3,4]]]`, true, nil},
|
||||
/* 34 */ {`[[4,3],2] IN [1,[2,[3,4]],5]`, false, nil},
|
||||
/* 35 */ {`[2,[3,4]] IN [1,[2,[3,4]],5]`, true, nil},
|
||||
}
|
||||
|
||||
// t.Setenv("EXPR_PATH", ".")
|
||||
|
||||
// parserTestSpec(t, section, inputs, 31)
|
||||
runTestSuite(t, section, inputs)
|
||||
// RunTestSuiteSpec(t, section, inputs, 35)
|
||||
RunTestSuite(t, section, inputs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user