mirror of
https://github.com/fluxcd/flux2.git
synced 2025-10-31 00:06:55 +08:00
15 lines
201 B
Go
15 lines
201 B
Go
// +build unit
|
|
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
// Ensure tests print consistent timestamps regardless of timezone
|
|
os.Setenv("TZ", "UTC")
|
|
os.Exit(m.Run())
|
|
}
|