mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 05:00:15 -05:00
commit
bfac3ec01f
@ -75,7 +75,7 @@ type Package struct {
|
|||||||
func (p *Package) SetProperty(key, value string) {
|
func (p *Package) SetProperty(key, value string) {
|
||||||
// TODO(jstemmer): Delete this method in the next major release.
|
// TODO(jstemmer): Delete this method in the next major release.
|
||||||
// Delete all the properties whose name is the specified key,
|
// Delete all the properties whose name is the specified key,
|
||||||
// then add the specieid key-value property.
|
// then add the specified key-value property.
|
||||||
i := 0
|
i := 0
|
||||||
for _, prop := range p.Properties {
|
for _, prop := range p.Properties {
|
||||||
if key != prop.Name {
|
if key != prop.Name {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user