16 lines
155 B
Go
16 lines
155 B
Go
package ast
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestVariadic(t *testing.T) {
|
|
runNodeTest(t,
|
|
Parse(`...`),
|
|
&Variadic{
|
|
ChildNodes: []Node{},
|
|
},
|
|
1,
|
|
)
|
|
}
|