1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Show failed environment variables

This commit is contained in:
Nobuyoshi Nakada 2021-09-27 16:01:53 +09:00
parent 0a38212e57
commit dfa67db62b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -1331,8 +1331,8 @@ class TestM17N < Test::Unit::TestCase
env_encoding = Encoding.find("locale") env_encoding = Encoding.find("locale")
end end
ENV.each {|k, v| ENV.each {|k, v|
assert_equal(env_encoding, k.encoding, k) assert_equal(env_encoding, k.encoding, proc {"key(#{k.encoding})=#{k.dump}"})
assert_equal(env_encoding, v.encoding, v) assert_equal(env_encoding, v.encoding, proc {"key(#{k.encoding})=#{k.dump}\n" "value(#{v.encoding})=#{v.dump}"})
} }
end end