mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
13 lines
253 B
Ruby
13 lines
253 B
Ruby
|
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?
|
||
|
}
|