ruby-changes:5070
From: akr <ko1@a...>
Date: Sat, 24 May 2008 11:11:04 +0900 (JST)
Subject: [ruby-changes:5070] Ruby:r16565 (trunk): add a test for .
akr 2008-05-24 10:34:37 +0900 (Sat, 24 May 2008) New Revision: 16565 Modified files: trunk/test/test_delegate.rb Log: add a test for [ruby-dev:34808]. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/test_delegate.rb?r1=16565&r2=16564&diff_format=u Index: test/test_delegate.rb =================================================================== --- test/test_delegate.rb (revision 16564) +++ test/test_delegate.rb (revision 16565) @@ -12,4 +12,9 @@ obj.extend M assert_equal(:m, obj.m, "[ruby-dev:33116]") end + + def test_systemcallerror_eq + e = SystemCallError.new(0) + assert((SimpleDelegator.new(e) == e) == (e == SimpleDelegator.new(e)), "[ruby-dev:34808]") + end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/