1
0
Fork 0
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:
Hiroshi SHIBATA 2020-05-28 21:11:12 +09:00
parent 3dd9e12b51
commit 7f9f5f5723

View file

@ -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