summary refs log tree commit diff stats
path: root/init_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'init_test.go')
-rw-r--r--init_test.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/init_test.go b/init_test.go
deleted file mode 100644
index bffe036..0000000
--- a/init_test.go
+++ /dev/null
@@ -1,27 +0,0 @@
-package main
-
-import (
-	"fmt"
-	"log"
-	"os"
-)
-
-var testport = fmt.Sprintf(":%v", confObj.Port)
-var hasInit = false
-
-func initTestConf() {
-	if !hasInit {
-		initConfig()
-		tmpls = initTemplates()
-		logToNull()
-		hasInit = true
-	}
-}
-
-func logToNull() {
-	hush, err := os.Open("/dev/null")
-	if err != nil {
-		log.Printf("%v\n", err)
-	}
-	log.SetOutput(hush)
-}