mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
Fixed travis build issues and test case validation errors
This commit is contained in:
parent
22fa468657
commit
1e8fe69668
@ -67,7 +67,7 @@ func TestDebugPrintRoutes(t *testing.T) {
|
||||
debugPrintRoute("GET", "/path/to/route/:param", HandlersChain{func(c *Context) {}, handlerNameTest})
|
||||
s := w.String()
|
||||
lines := strings.Split(s, "\n")
|
||||
assert.Regexp(t, `^\[GIN-debug\] GET /path/to/route/:param --> (.*/vendor/)?github.com/jithinjk/gin.handlerNameTest \(2 handlers\)\n$`, lines[len(lines)-2]+"\n")
|
||||
assert.Regexp(t, `^\[GIN-debug\] GET /path/to/route/:param --> (.*/vendor/)?github.com/gin-gonic/gin.handlerNameTest \(2 handlers\)\n$`, lines[len(lines)-2]+"\n")
|
||||
}
|
||||
|
||||
func TestDebugPrintLoadTemplate(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user