root element rename to testsuite
This commit is contained in:
parent
18d362c926
commit
d97ffd7fea
@ -70,7 +70,8 @@ func main() {
|
||||
filename := os.Args[1]
|
||||
var file *os.File
|
||||
if filename != "-" {
|
||||
file, err := os.Open(filename)
|
||||
file2, err := os.Open(filename)
|
||||
file = file2
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
type Testsuites struct {
|
||||
XMLName xml.Name `xml:"testsuites"`
|
||||
XMLName xml.Name `xml:"testsuite"`
|
||||
|
||||
Tests int `xml:"tests,attr"`
|
||||
Failures int `xml:"failures,attr"`
|
||||
|
Loading…
Reference in New Issue
Block a user