ruby-changes:68144
From: Nobuyoshi <ko1@a...>
Date: Mon, 27 Sep 2021 20:48:32 +0900 (JST)
Subject: [ruby-changes:68144] dfa67db62b (master): Show failed environment variables
https://git.ruby-lang.org/ruby.git/commit/?id=dfa67db62b From dfa67db62bbffd9f6900b46aa04309ea77acf673 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 27 Sep 2021 16:01:53 +0900 Subject: Show failed environment variables --- test/ruby/test_m17n.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb index 3f28d55..6b0bc4d 100644 --- a/test/ruby/test_m17n.rb +++ b/test/ruby/test_m17n.rb @@ -1331,8 +1331,8 @@ class TestM17N < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_m17n.rb#L1331 env_encoding = Encoding.find("locale") end ENV.each {|k, v| - assert_equal(env_encoding, k.encoding, k) - assert_equal(env_encoding, v.encoding, v) + assert_equal(env_encoding, k.encoding, proc {"key(#{k.encoding})=#{k.dump}"}) + assert_equal(env_encoding, v.encoding, proc {"key(#{k.encoding})=#{k.dump}\n" "value(#{v.encoding})=#{v.dump}"}) } end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/