diff --git a/t_iterator_test.go b/t_iterator_test.go index 8d7be16..04f4db5 100644 --- a/t_iterator_test.go +++ b/t_iterator_test.go @@ -17,13 +17,12 @@ func TestIteratorParser(t *testing.T) { /* 6 */ {`builtin "math.arith"; include "test-resources/iterator.expr"; it=$(ds,3); mul(it)`, int64(0), nil}, /* 7 */ {`builtin "math.arith"; include "test-resources/file-reader.expr"; it=$(ds,"test-resources/int.list"); mul(it)`, int64(12000), nil}, /* 8 */ {`include "test-resources/file-reader.expr"; it=$(ds,"test-resources/int.list"); it++; it.index`, int64(0), nil}, - /* 10 */ {`include "test-resources/file-reader.expr"; it=$(ds,"test-resources/int.list"); it.clean`, true, nil}, - /* 11 */ {`it=$(1,2,3); it++`, int64(1), nil}, - /* 12 */ {`it=$(1,2,3); it++; it.reset; it++`, int64(1), nil}, + /* 9 */ {`include "test-resources/file-reader.expr"; it=$(ds,"test-resources/int.list"); it.clean`, true, nil}, + /* 10 */ {`it=$(1,2,3); it++`, int64(1), nil}, + /* 11 */ {`it=$(1,2,3); it++; it.reset; it++`, int64(1), nil}, +// /* 12 */ {`include "test-resources/filter.expr"; it=$(ds,10); it++`, int64(1), nil}, } - // inputs1 := []inputType{ - // /* 1 */ {`0?{}`, nil, nil}, - // } - //runTestSuiteSpec(t, section, inputs, 2) + + //runTestSuiteSpec(t, section, inputs, 12) runTestSuite(t, section, inputs) }