test_generic.rb: fix assertion
* test/uri/test_generic.rb (test_to_s): use assert_not_predicate. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf183a58de
commit
ec74d507fe
@ -18,7 +18,7 @@ class URI::TestGeneric < Test::Unit::TestCase
|
|||||||
exp = 'http://example.com/'.freeze
|
exp = 'http://example.com/'.freeze
|
||||||
str = URI(exp).to_s
|
str = URI(exp).to_s
|
||||||
assert_equal exp, str
|
assert_equal exp, str
|
||||||
refute_predicate str, :frozen?, '[ruby-core:71785] [Bug #11759]'
|
assert_not_predicate str, :frozen?, '[ruby-core:71785] [Bug #11759]'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_parse
|
def test_parse
|
||||||
|
Loading…
x
Reference in New Issue
Block a user