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

13 lines
253 B
Ruby
Raw Normal View History

assert_equal "true", %q{
ENV["ENVTEST"] = "\u{e9 3042 d76c}"
env = ENV["ENVTEST"]
env.valid_encoding?
}
# different encoding is used for PATH
assert_equal "true", %q{
ENV["PATH"] = "\u{e9 3042 d76c}"
env = ENV["PATH"]
env.valid_encoding?
}