# File test/test-escape.rb, line 59 def test_uri_path assert_kind_of(Escape::PercentEncoded, Escape.uri_path("foo")) assert_equal_pe("a/b/c", Escape.uri_path("a/b/c")) assert_equal_pe("a%3Fb/c%3Fd/e%3Ff", Escape.uri_path("a?b/c?d/e?f")) end