diff --git a/go/engine/engine.go b/go/engine/engine.go index 8f712c1..24399d4 100644 --- a/go/engine/engine.go +++ b/go/engine/engine.go @@ -119,7 +119,6 @@ func (en *Engine) Exec(input []byte, ctx context.Context) (bool, error) { // - the template for the given node point is note available for retrieval using the resource.Resource implementer. // - the supplied writer fails to process the writes. func(en *Engine) WriteResult(w io.Writer) error { - //location, idx := en.st.Where() r, err := en.vm.Render() if err != nil { return err diff --git a/go/testdata/testdata.go b/go/testdata/testdata.go index 6c28f6b..0ae7fdb 100644 --- a/go/testdata/testdata.go +++ b/go/testdata/testdata.go @@ -117,6 +117,8 @@ func long() error { b = vm.NewLine(b, vm.MAP, []string{"longdata"}, nil, nil) b = vm.NewLine(b, vm.HALT, nil, nil, nil) b = vm.NewLine(b, vm.INCMP, []string{"0", "_"}, nil, nil) + b = vm.NewLine(b, vm.INCMP, []string{"00", ">"}, nil, nil) + b = vm.NewLine(b, vm.INCMP, []string{"11", "<"}, nil, nil) tpl := `data {{.longdata}}`