ruby-changes:16302
From: yugui <ko1@a...>
Date: Fri, 11 Jun 2010 13:21:11 +0900 (JST)
Subject: [ruby-changes:16302] Ruby:r28274 (ruby_1_9_2): merges r28157 from trunk into ruby_1_9_2.
yugui 2010-06-11 13:21:01 +0900 (Fri, 11 Jun 2010) New Revision: 28274 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28274 Log: merges r28157 from trunk into ruby_1_9_2. -- * test/dl/test_cfunc.rb: test for r28156 Modified files: branches/ruby_1_9_2/test/dl/test_cfunc.rb Index: ruby_1_9_2/test/dl/test_cfunc.rb =================================================================== --- ruby_1_9_2/test/dl/test_cfunc.rb (revision 28273) +++ ruby_1_9_2/test/dl/test_cfunc.rb (revision 28274) @@ -59,6 +59,10 @@ assert_equal @cf.inspect, @cf.to_s end + def test_inspect_is_tainted + assert @cf.inspect.tainted?, 'inspect is tainted' + end + def test_to_i assert_equal @cf.to_i, @cf.ptr assert_equal @libc[@name], @cf.to_i -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/