aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/csource_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 /pkg/csource/csource_test.go
parent742f448304a916ae83bcdadf7e3be76c5464b37b (diff)
all: fix warnings pointed to by golangci-lint
Update #977
Diffstat (limited to 'pkg/csource/csource_test.go')
-rw-r--r--pkg/csource/csource_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go
index 773ff2ed8..75e451b9b 100644
--- a/pkg/csource/csource_test.go
+++ b/pkg/csource/csource_test.go
@@ -60,7 +60,7 @@ func TestGenerate(t *testing.T) {
}
func testTarget(t *testing.T, target *prog.Target, full bool) {
- seed := int64(time.Now().UnixNano())
+ seed := time.Now().UnixNano()
if os.Getenv("TRAVIS") != "" {
seed = 0 // required for deterministic coverage reports
}