1
0
Fork 0
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:
Florian Hanke 2012-06-18 17:05:42 +10:00
parent 57fc08d3dd
commit 57babc51fc

View file

@ -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