Skip to content

Commit fbfb33a

Browse files
committed
junit: Use consistent receiver name
1 parent 5616b5e commit fbfb33a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

junit/junit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ func (t *Testsuite) AddTestcase(tc Testcase) {
9090
}
9191

9292
// SetTimestamp sets the timestamp in this Testsuite.
93-
func (ts *Testsuite) SetTimestamp(t time.Time) {
94-
ts.Timestamp = t.Format(time.RFC3339)
93+
func (t *Testsuite) SetTimestamp(timestamp time.Time) {
94+
t.Timestamp = timestamp.Format(time.RFC3339)
9595
}
9696

9797
// Testcase represents a single test with its results.

0 commit comments

Comments
 (0)