зеркало из https://github.com/github/ruby.git
13 строки
253 B
Ruby
13 строки
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?
|
||
|
}
|