Permalink
Browse files

at least it fails already

  • Loading branch information...
1 parent 57fc08d commit 57babc51fc6f2ffdd3b23a57e4ad77c3d53d8f1c @floere floere committed Jun 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/compile_test.rb
View
@@ -135,4 +135,5 @@ def compiled pattern
# 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

0 comments on commit 57babc5

Please sign in to comment.