mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-06 14:02:52 -05:00
Report stores a slice of Property structs rather than a map, to mimic JUnit properties, which have a deterministic ordering and allow multipler properties with the same name.
This commit is contained in:
@ -19,7 +19,7 @@ func TestCreateFromReport(t *testing.T) {
|
||||
Duration: 1 * time.Second,
|
||||
Coverage: 0.9,
|
||||
Output: []string{"output"},
|
||||
Properties: map[string]string{"go.version": "go1.18"},
|
||||
Properties: []gtr.Property{{Name: "go.version", Value: "go1.18"}},
|
||||
Tests: []gtr.Test{
|
||||
{
|
||||
Name: "TestPass",
|
||||
|
Reference in New Issue
Block a user