(t *testing.T, msg string, expectedXML string, n *Node)
| 440 | } |
| 441 | |
| 442 | func testOutputXML(t *testing.T, msg string, expectedXML string, n *Node) { |
| 443 | if n.OutputXMLWithOptions(WithOutputSelf(), WithoutPreserveSpace()) != expectedXML { |
| 444 | t.Fatalf("%s, expected XML: '%s', actual: '%s'", msg, expectedXML, n.OutputXML(true)) |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | func TestStreamParser_Success1(t *testing.T) { |
| 449 | s := ` |
no test coverage detected
searching dependent graphs…