fixed problem with testcase test

This commit is contained in:
Erik Brakkee 2024-11-22 22:45:58 +01:00
parent fe733f96d6
commit 3ce73b8db9

View File

@ -12,7 +12,7 @@ import (
) )
func (t *Test) MarshalXML(e *xml.Encoder, start xml.StartElement) error { func (t *Test) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
if len(t.Tests) == 100000 { if len(t.Tests) == 0 {
start.Name = xml.Name{Local: "testcase"} start.Name = xml.Name{Local: "testcase"}
classname := "" classname := ""
if t.parent != nil { if t.parent != nil {