diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_env.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstraptest/test_env.rb b/bootstraptest/test_env.rb new file mode 100644 index 0000000000..7d1b45b75e --- /dev/null +++ b/bootstraptest/test_env.rb @@ -0,0 +1,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? +} |