зеркало из https://github.com/github/ruby.git
[ruby/securerandom] Use build_message instead of message for test-unit
https://github.com/ruby/securerandom/commit/826b877e83
This commit is contained in:
Родитель
3dd9e12b51
Коммит
7f9f5f5723
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче