We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec05731 commit 1db90dbCopy full SHA for 1db90db
trie_test.go
@@ -233,6 +233,12 @@ func (s *TrieSuite) TestMergeAndMatchCases(c *C) {
233
"http://google.com/v42/domains/domain1",
234
"/v<int:version>/domains/<string:name>",
235
},
236
+ // Int matcher at the end of the Trie
237
+ {
238
+ []string{"/v<int:version>/domains/<int:name>"},
239
+ "http://google.com/v42/domains/1",
240
+ "/v<int:version>/domains/<int:name>",
241
+ },
242
// Int matcher, no match
243
{
244
[]string{"/v<int:version>/domains/<string:name>", "/<string:version>/domains/<string:name>"},
0 commit comments