From 1474dd064b28e4a813a79342c5523cede60f83c7 Mon Sep 17 00:00:00 2001 From: shugo Date: Thu, 13 Jun 2013 05:41:44 +0000 Subject: * test/-ext-/test_printf.rb, test/rss/test_parser.rb, test/ruby/test_array.rb, test/ruby/test_hash.rb, test/ruby/test_m17n.rb, test/ruby/test_marshal.rb, test/ruby/test_object.rb, test/ruby/test_string.rb: don't use untrusted?, untrust, and trust to avoid warnings in case $VERBOSE is true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/-ext-/test_printf.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'test/-ext-/test_printf.rb') diff --git a/test/-ext-/test_printf.rb b/test/-ext-/test_printf.rb index 4b471ab5d9..29f384b1d7 100644 --- a/test/-ext-/test_printf.rb +++ b/test/-ext-/test_printf.rb @@ -37,13 +37,4 @@ class Test_SPrintf < Test::Unit::TestCase inspect: Bug::Printf.v(obj).tainted?, }) end - - def test_untrust - obj = Object.new.untrust - assert_equal({to_s: true, inspect: true}, - { - to_s: Bug::Printf.s(obj).untrusted?, - inspect: Bug::Printf.v(obj).untrusted?, - }) - end end -- cgit v1.2.3