mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
201 B
Go
15 lines
201 B
Go
3 years ago
|
// +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())
|
||
|
}
|