package ast import ( "testing" ) func TestHTMLStartTagComment(t *testing.T) { nodes := map[string]testNode{ `0x4259670 Name="i"`: testNode{&HTMLStartTagComment{ Addr: 0x4259670, Pos: NewPositionFromString("col:27, col:30"), Name: "i", ChildNodes: []Node{}, }, 0x4259670, NewPositionFromString("col:27, col:30"), []Node{}, }, } runNodeTests(t, nodes) }