1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-09-18 01:52:30 +03:00
parent 9e8a58bf3b
commit 3d99983d96
8 changed files with 111 additions and 49 deletions

View File

@@ -47,6 +47,18 @@ func TestCleanPath(t *testing.T) {
"/single/{id:uint64}",
"/single/{id:uint64}",
},
{
"0\\\\\\0",
"/0/0",
},
{
"*\\*\\*",
"/*/*/*",
},
{
"\\",
"/",
},
}
for i, tt := range tests {