diff --git a/t_iterator_test.go b/t_iterator_test.go index 9552306..9f82763 100644 --- a/t_iterator_test.go +++ b/t_iterator_test.go @@ -29,8 +29,10 @@ func TestIteratorParser(t *testing.T) { /* 18 */ {`it=$({"next":func(){5}}); it.clean`, nil, nil}, /* 19 */ {`it=$({1:"one",2:"two",3:"three"}); it++`, int64(1), nil}, /* 20 */ {`it=$({1:"one",2:"two",3:"three"}, "default", "value"); it++`, "one", nil}, + /* 21 */ {`it=$({1:"one",2:"two",3:"three"}, "desc", "key"); it++`, int64(3), nil}, + /* 22 */ {`it=$({1:"one",2:"two",3:"three"}, "asc", "item"); it++`, NewList([]any{int64(1), "one"}), nil}, } - runTestSuiteSpec(t, section, inputs, 20) - // runTestSuite(t, section, inputs) + // runTestSuiteSpec(t, section, inputs, 20) + runTestSuite(t, section, inputs) }