mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-20 00:47:00 +08:00
Tons of unit tests
This commit is contained in:
@ -10,6 +10,10 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
// TODO
|
||||
// func debugRoute(httpMethod, absolutePath string, handlers []HandlerFunc) {
|
||||
// func debugPrint(format string, values ...interface{}) {
|
||||
|
||||
func TestIsDebugging(t *testing.T) {
|
||||
SetMode(DebugMode)
|
||||
assert.True(t, IsDebugging())
|
||||
|
Reference in New Issue
Block a user