summaryrefslogtreecommitdiff
path: root/bootstraptest/test_env.rb
blob: 7d1b45b75e83e582fc142474540c897ddd7a7efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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?
}