aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/commit_poll_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-29 11:50:06 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-29 16:01:06 +0100
commitb190f060619b8b4be091a69540d0b9de30c1fb5a (patch)
treed87e3601f31fa5229424ea2daeab1ee4dbeb2e6d /dashboard/app/commit_poll_test.go
parent47055498006c05e81c1e1ad9101d6b8c6f502064 (diff)
dashboard/app: fix testing for go1.11 runtime
0. Remove aetest build tag. We don't need it anymore, go test should work. 1. IsDevAppServer does not return true in tests anymore, so don't use it 2. Use a different mechanism to register test/prod config. We don't have aetest tag anymore, so we need something even more dynamic. 3. Fix new golangci-lint warnings: all test files are checked now. Update #1461
Diffstat (limited to 'dashboard/app/commit_poll_test.go')
-rw-r--r--dashboard/app/commit_poll_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/dashboard/app/commit_poll_test.go b/dashboard/app/commit_poll_test.go
index 207ea4fc6..5f80db826 100644
--- a/dashboard/app/commit_poll_test.go
+++ b/dashboard/app/commit_poll_test.go
@@ -1,8 +1,6 @@
// Copyright 2019 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-// +build aetest
-
package main
import (