ruby-changes:62966
From: Hiroshi <ko1@a...>
Date: Tue, 15 Sep 2020 21:08:03 +0900 (JST)
Subject: [ruby-changes:62966] 7f9f5f5723 (master): [ruby/securerandom] Use build_message instead of message for test-unit
https://git.ruby-lang.org/ruby.git/commit/?id=7f9f5f5723 From 7f9f5f5723cd723dee578b0681066c8393ee45d0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Thu, 28 May 2020 21:11:12 +0900 Subject: [ruby/securerandom] Use build_message instead of message for test-unit https://github.com/ruby/securerandom/commit/826b877e83 diff --git a/test/test_securerandom.rb b/test/test_securerandom.rb index 7c8640f..548f3b2 100644 --- a/test/test_securerandom.rb +++ b/test/test_securerandom.rb @@ -175,7 +175,7 @@ end https://github.com/ruby/ruby/blob/trunk/test/test_securerandom.rb#L175 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/