From e0c717971573743a4a70c465368a8fd549608860 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Mon, 6 Jul 2020 18:00:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=20Add=20small=20test=20case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- path_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/path_test.go b/path_test.go index 47f2cd61..1ebfd0f6 100644 --- a/path_test.go +++ b/path_test.go @@ -173,6 +173,7 @@ func Test_Path_matchParams(t *testing.T) { {url: "/api/joker/batman/robin/1", params: []string{"joker/batman", "robin", "1"}, match: true}, {url: "/api/joker/batman/robin/1/2", params: []string{"joker/batman/robin", "1", "2"}, match: true}, {url: "/api", params: nil, match: false}, + {url: "/api/:test", params: nil, match: false}, }) testCase("/", []testparams{ {url: "/api", params: nil, match: false},