mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/securerandom] Use build_message instead of message for test-unit
https://github.com/ruby/securerandom/commit/826b877e83
This commit is contained in:
parent
3dd9e12b51
commit
7f9f5f5723
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…
Reference in a new issue