summaryrefslogtreecommitdiff
path: root/test/-ext-/test_printf.rb
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-13 05:41:44 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-13 05:41:44 +0000
commit1474dd064b28e4a813a79342c5523cede60f83c7 (patch)
tree18eed509f9c6e01f993948b733c165f6006a2450 /test/-ext-/test_printf.rb
parent90026ab53f89304438d907c0c7cc23afccc6edb7 (diff)
* 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
Diffstat (limited to 'test/-ext-/test_printf.rb')
-rw-r--r--test/-ext-/test_printf.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/-ext-/test_printf.rb b/test/-ext-/test_printf.rb
index 4b471ab..29f384b 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