From 131f694330d1d44add74643a264ff7c4d7f06216 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 25 Jul 2012 06:49:35 +0000 Subject: Suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_securerandom.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/test_securerandom.rb') diff --git a/test/test_securerandom.rb b/test/test_securerandom.rb index be951ea722..f3e1bf0afc 100644 --- a/test/test_securerandom.rb +++ b/test/test_securerandom.rb @@ -87,7 +87,13 @@ end f << 'raise LoadError' } $LOAD_PATH.unshift(dir) - require 'securerandom' + v = $VERBOSE + begin + $VERBOSE = false + require 'securerandom' + ensure + $VERBOSE = v + end test_s_random_bytes end ensure -- cgit v1.2.3