mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-05 21:42:53 -05:00
internal: make timestampFunc private
This commit is contained in:
@ -70,7 +70,7 @@ func testRun(inputFile, reportFile string, config Config, t *testing.T) {
|
||||
}
|
||||
config.Hostname = "hostname"
|
||||
config.Properties = map[string]string{"go.version": "1.0"}
|
||||
config.TimestampFunc = func() time.Time {
|
||||
config.timestampFunc = func() time.Time {
|
||||
return time.Date(2022, 1, 1, 0, 0, 0, 0, time.UTC)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user