ruby-changes:50969
From: mame <ko1@a...>
Date: Tue, 17 Apr 2018 17:26:24 +0900 (JST)
Subject: [ruby-changes:50969] mame:r63176 (trunk): Remove the assertions that have no meaning
mame 2018-04-17 17:26:19 +0900 (Tue, 17 Apr 2018) New Revision: 63176 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63176 Log: Remove the assertions that have no meaning Modified files: trunk/test/ruby/test_assignment.rb Index: test/ruby/test_assignment.rb =================================================================== --- test/ruby/test_assignment.rb (revision 63175) +++ test/ruby/test_assignment.rb (revision 63176) @@ -129,17 +129,17 @@ class TestAssignment < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/ruby/test_assignment.rb#L129 } assert_raise(NoMethodError, bug11096) { - assert_equal(43, o.instance_eval {self.foo += 1}) + o.instance_eval {self.foo += 1} } assert_raise(NoMethodError, bug11096) { - assert_equal(1, o.instance_eval {self.foo &&= 1}) + o.instance_eval {self.foo &&= 1} } assert_raise(NoMethodError, bug11096) { - assert_equal(43, o.instance_eval {self[0] += 1}) + o.instance_eval {self[0] += 1} } assert_raise(NoMethodError, bug11096) { - assert_equal(1, o.instance_eval {self[0] &&= 1}) + o.instance_eval {self[0] &&= 1} } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/