nswrap/ast/variadic_test.go
2019-06-11 12:38:22 -04:00

21 lines
227 B
Go

package ast
import (
"testing"
)
func TestVariadic(t *testing.T) {
i := 1
runNodeTest(t,
Parse(`...`),
testNode{&Variadic{
ChildNodes: []Node{},
},
0,
NewPositionFromString(""),
[]Node{},
},
&i,
)
}