aboutsummaryrefslogtreecommitdiffstats
path: root/prog/export_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-03-28 15:30:18 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-03-28 15:30:18 +0100
commit4a9fce1952b2b4742bd07bc5137c75b0225d56ab (patch)
treeb4286fe6700b5c4e789e55a1921937acd8392a52 /prog/export_test.go
parent742f448304a916ae83bcdadf7e3be76c5464b37b (diff)
all: fix warnings pointed to by golangci-lint
Update #977
Diffstat (limited to 'prog/export_test.go')
-rw-r--r--prog/export_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/export_test.go b/prog/export_test.go
index a49d094ef..d5c67ac70 100644
--- a/prog/export_test.go
+++ b/prog/export_test.go
@@ -32,7 +32,7 @@ func initTargetTest(t *testing.T, os, arch string) *Target {
}
func randSource(t *testing.T) rand.Source {
- seed := int64(time.Now().UnixNano())
+ seed := time.Now().UnixNano()
if os.Getenv("TRAVIS") != "" {
seed = 0 // required for deterministic coverage reports
}