summaryrefslogtreecommitdiff
path: root/test/test_securerandom.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-25 06:49:35 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-25 06:49:35 +0000
commit131f694330d1d44add74643a264ff7c4d7f06216 (patch)
treefdaf9a9df3b7bb7054310eb4a751f261210df3c0 /test/test_securerandom.rb
parentc5581959992c3fd621b48f9fc506454993daf077 (diff)
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_securerandom.rb')
-rw-r--r--test/test_securerandom.rb8
1 files changed, 7 insertions, 1 deletions
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