ruby-changes:40904
From: nobu <ko1@a...>
Date: Wed, 9 Dec 2015 08:48:43 +0900 (JST)
Subject: [ruby-changes:40904] nobu:r52983 (trunk): test_generic.rb: fix assertion
nobu 2015-12-09 08:48:37 +0900 (Wed, 09 Dec 2015) New Revision: 52983 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52983 Log: test_generic.rb: fix assertion * test/uri/test_generic.rb (test_to_s): use assert_not_predicate. Modified files: trunk/test/uri/test_generic.rb Index: test/uri/test_generic.rb =================================================================== --- test/uri/test_generic.rb (revision 52982) +++ test/uri/test_generic.rb (revision 52983) @@ -18,7 +18,7 @@ class URI::TestGeneric < Test::Unit::Tes https://github.com/ruby/ruby/blob/trunk/test/uri/test_generic.rb#L18 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/