summaryrefslogtreecommitdiffstats
path: root/hugolib/site_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-03-24 10:11:16 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-03-24 16:14:51 +0100
commitb5f39d23b86f9cb83c51da9fe4abb4c19c01c3b7 (patch)
treecf23180dc07698391cf47c2fe525755417729020 /hugolib/site_test.go
parent3011f36c27ecde309325e6c75ca377f4f87fa97a (diff)
all: Apply staticcheck recommendations
Diffstat (limited to 'hugolib/site_test.go')
-rw-r--r--hugolib/site_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/hugolib/site_test.go b/hugolib/site_test.go
index 98fe1ff4f..21575072d 100644
--- a/hugolib/site_test.go
+++ b/hugolib/site_test.go
@@ -35,10 +35,6 @@ const (
templateWithURLAbs = "<a href=\"/foobar.jpg\">Going</a>"
)
-func init() {
- testMode = true
-}
-
func TestRenderWithInvalidTemplate(t *testing.T) {
t.Parallel()
cfg, fs := newTestCfg()