Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Ruby meta
All Projects
Ruby meta
This project is closed and read-only.
Download (249 Bytes)
Bug #3457
ยป uri_test.rb
test case -
schmidt (Gregor Schmidt)
, 06/20/2010 07:01 PM
require
'test/unit'
require
'uri'
class
UriTest
<
Test
::
Unit
::
TestCase
def
test_escaping_of_square_brackets
assert_equal
(
'http://[2001:1:1:1:2:2:2]/some/%5Bpath%5D'
,
URI
.
escape
(
'http://[2001:1:1:1:2:2:2]/some/[path]'
))
end
end
(1-1/1)
Loading...