aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_securerandom.rb
diff options
context:
space:
mode:
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