dataCursor implements Typer interface

This commit is contained in:
2024-07-06 16:05:54 +02:00
parent fd8e32e12b
commit d2a4adebdd
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -7,6 +7,7 @@ package expr
import "testing"
func TestIteratorParser(t *testing.T) {
section := "Iterator"
inputs := []inputType{
/* 1 */ {`include "test-resources/iterator.expr"; it=$(ds,3); ()it`, int64(0), nil},
/* 2 */ {`include "test-resources/iterator.expr"; it=$(ds,3); it++; it++`, int64(1), nil},
@@ -22,5 +23,6 @@ func TestIteratorParser(t *testing.T) {
// inputs1 := []inputType{
// /* 1 */ {`0?{}`, nil, nil},
// }
runTestSuite(t, "Iterator", inputs)
// runTestSuiteSpec(t, section, inputs, 1)
runTestSuite(t, section, inputs)
}