From b9a543a53c89a7f811aadd41db702e77bfc4c7f0 Mon Sep 17 00:00:00 2001 From: Jithin James Date: Tue, 17 Oct 2017 15:52:06 +0530 Subject: [PATCH] Fix for travis fail - 688972b98c --- debug_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_test.go b/debug_test.go index 042d45b0..04c1e262 100644 --- a/debug_test.go +++ b/debug_test.go @@ -77,7 +77,7 @@ func TestDebugPrintRoutes(t *testing.T) { debugPrintRoute("GET", "/path/to/route/:param", HandlersChain{func(c *Context) {}, handlerNameTest, handlerNameTest1}) s = w.String() lines = strings.Split(s, "\n") - assert.Regexp(t, `^\[GIN-debug\] GET /path/to/route/:param --> (.*/vendor/)?github.com/gin-gonic/gin.handlerNameTest \(3 handlers\)\n$`, lines[len(lines)-2]+"\n") + assert.Regexp(t, `^\[GIN-debug\] GET /path/to/route/:param --> (.*/vendor/)?github.com/gin-gonic/gin.handlerNameTest1 \(3 handlers\)\n$`, lines[len(lines)-2]+"\n") } func TestDebugPrintLoadTemplate(t *testing.T) {