add non-failing related tests

This commit is contained in:
Konstantin Haase 2013-03-20 10:37:42 +01:00
parent b08af687c3
commit 52033e5e4d
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ class CompileTest < Test::Unit::TestCase
parses "/:id/test.bar", "/2e/test.bar", {"id" => "2e"} parses "/:id/test.bar", "/2e/test.bar", {"id" => "2e"}
fails "/:id/test.bar", "/%2E/test.bar" fails "/:id/test.bar", "/%2E/test.bar"
parses '/10/:id', '/10/test', "id" => "test"
parses '/10/:id', '/10/te.st', "id" => "te.st"
parses '/10.1/:id', '/10.1/test', "id" => "test" parses '/10.1/:id', '/10.1/test', "id" => "test"
parses '/10.1/:id', '/10.1/te.st', "id" => "te.st" parses '/10.1/:id', '/10.1/te.st', "id" => "te.st"