mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
at least it fails already
This commit is contained in:
parent
57fc08d3dd
commit
57babc51fc
1 changed files with 1 additions and 0 deletions
|
@ -135,4 +135,5 @@ class CompileTest < Test::Unit::TestCase
|
|||
# converts "/:name(.:format)?", %r{\A/([^\.%2E/?#]+)(?:\(|%28)(?:\.|%2E)([^\.%2E/?#]+)(?:\)|%29)?\z}
|
||||
# parses "/:name(.:format)?", "/foo", "name" => "foo", "format" => nil
|
||||
# parses "/:name(.:format)?", "/foo.bar", "name" => "foo", "format" => "bar"
|
||||
fails "/:name(.:format)?", "/foo."
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue