зеркало из https://github.com/github/ruby.git
Revert "[ruby/securerandom] Use build_message instead of message for test-unit"
This reverts commit 7f9f5f5723
.
This commit is contained in:
Родитель
abbd324152
Коммит
ee10efdcf0
|
@ -175,7 +175,7 @@ end
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_in_range(range, result, mesg = nil)
|
def assert_in_range(range, result, mesg = nil)
|
||||||
assert(range.cover?(result), build_message(mesg) {"Expected #{result} to be in #{range}"})
|
assert(range.cover?(result), message(mesg) {"Expected #{result} to be in #{range}"})
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_with_openssl
|
def test_with_openssl
|
||||||
|
|
Загрузка…
Ссылка в новой задаче