diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-25 06:49:35 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-25 06:49:35 +0000 |
commit | 131f694330d1d44add74643a264ff7c4d7f06216 (patch) | |
tree | fdaf9a9df3b7bb7054310eb4a751f261210df3c0 /test/test_securerandom.rb | |
parent | c5581959992c3fd621b48f9fc506454993daf077 (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.rb | 8 |
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 |