mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use build_message on test_securerandom.rb (#3543)
* Revert "Revert "[ruby/securerandom] Use build_message instead of message for test-unit"" * [ruby/securerandom] Fixed the wrong usage of build_message
This commit is contained in:
parent
1af0319fc8
commit
344304c89f
Notes:
git
2020-09-16 07:45:28 +09:00
Merged-By: hsbt <hsbt@ruby-lang.org>
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ end
|
|||
end
|
||||
|
||||
def assert_in_range(range, result, mesg = nil)
|
||||
assert(range.cover?(result), message(mesg) {"Expected #{result} to be in #{range}"})
|
||||
assert(range.cover?(result), build_message(mesg, "Expected #{result} to be in #{range}"))
|
||||
end
|
||||
|
||||
def test_with_openssl
|
||||
|
|
Loading…
Add table
Reference in a new issue