summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 23:48:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 23:48:37 +0000
commitec74d507fe815fd1d1930b2e390b9f478b55be9a (patch)
treec2bf69ca432ee824e5b29abaa5a6ee0198ad9c33 /test
parentcf183a58de690b6b4df1a368ce99191742356119 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/uri/test_generic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/uri/test_generic.rb b/test/uri/test_generic.rb
index 0a068c351b..941d8ffa02 100644
--- a/test/uri/test_generic.rb
+++ b/test/uri/test_generic.rb
@@ -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