diff --git a/src/xmlx_test.go b/src/xmlx_test.go index 0c09a71..d64474c 100644 --- a/src/xmlx_test.go +++ b/src/xmlx_test.go @@ -12,7 +12,7 @@ func TestDoc(t *testing.T) { } if len(doc.Root.Children) == 0 { - t.Errorf("Root node has no children.", err); + t.Errorf("Root node has no children."); return; } }