1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
nobu 2015-12-08 23:48:37 +00:00
parent cf183a58de
commit ec74d507fe

View file

@ -18,7 +18,7 @@ class URI::TestGeneric < Test::Unit::TestCase
exp = 'http://example.com/'.freeze
str = URI(exp).to_s
assert_equal exp, str
refute_predicate str, :frozen?, '[ruby-core:71785] [Bug #11759]'
assert_not_predicate str, :frozen?, '[ruby-core:71785] [Bug #11759]'
end
def test_parse