Improves unit tests

This commit is contained in:
Manu Mtz-Almeida
2015-04-08 02:58:35 +02:00
parent 67f8f6bb69
commit ac0ad2fed8
14 changed files with 782 additions and 622 deletions
+1 -2
View File
@@ -5,7 +5,6 @@
package gin
import (
"log"
"os"
"github.com/mattn/go-colorable"
@@ -46,7 +45,7 @@ func SetMode(value string) {
case TestMode:
ginMode = testCode
default:
log.Panic("gin mode unknown: " + value)
panic("gin mode unknown: " + value)
}
modeName = value
}