mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-05 13:32:54 -05:00
junit: Use consistent receiver name
This commit is contained in:
@ -90,8 +90,8 @@ func (t *Testsuite) AddTestcase(tc Testcase) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SetTimestamp sets the timestamp in this Testsuite.
|
// SetTimestamp sets the timestamp in this Testsuite.
|
||||||
func (ts *Testsuite) SetTimestamp(t time.Time) {
|
func (t *Testsuite) SetTimestamp(timestamp time.Time) {
|
||||||
ts.Timestamp = t.Format(time.RFC3339)
|
t.Timestamp = timestamp.Format(time.RFC3339)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Testcase represents a single test with its results.
|
// Testcase represents a single test with its results.
|
||||||
|
Reference in New Issue
Block a user