ruby-changes:62970
From: Hiroshi <ko1@a...>
Date: Tue, 15 Sep 2020 21:45:18 +0900 (JST)
Subject: [ruby-changes:62970] ee10efdcf0 (master): Revert "[ruby/securerandom] Use build_message instead of message for test-unit"
https://git.ruby-lang.org/ruby.git/commit/?id=ee10efdcf0 From ee10efdcf028c0455c192acdd8298c42f0be3d87 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 15 Sep 2020 21:44:59 +0900 Subject: Revert "[ruby/securerandom] Use build_message instead of message for test-unit" This reverts commit 7f9f5f5723cd723dee578b0681066c8393ee45d0. diff --git a/test/test_securerandom.rb b/test/test_securerandom.rb index 548f3b2..7c8640f 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), build_message(mesg) {"Expected #{result} to be in #{range}"}) + assert(range.cover?(result), 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/