diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-01 21:14:58 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-01 21:55:51 +0900 |
commit | ab516e263c06fbd755d4805ad529c32b1b8292b5 (patch) | |
tree | f709104c313268e8443174ab03242fc1e8f6c39c /spec/ruby/core/env/values_spec.rb | |
parent | 4e03a7298b3a99de9c57f9a4934d38445cad1b10 (diff) | |
download | ruby-ab516e263c06fbd755d4805ad529c32b1b8292b5.tar.gz |
[ruby/spec] Fix failures with LC_ALL=C
https://github.com/ruby/spec/commit/51047687c0
https://github.com/ruby/spec/commit/2b87b467cc
Diffstat (limited to 'spec/ruby/core/env/values_spec.rb')
-rw-r--r-- | spec/ruby/core/env/values_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/env/values_spec.rb b/spec/ruby/core/env/values_spec.rb index 919d7ffb7c..71bc877d31 100644 --- a/spec/ruby/core/env/values_spec.rb +++ b/spec/ruby/core/env/values_spec.rb @@ -1,4 +1,4 @@ -require_relative '../../spec_helper' +require_relative 'spec_helper' describe "ENV.values" do @@ -8,7 +8,7 @@ describe "ENV.values" do it "uses the locale encoding" do ENV.values.each do |value| - value.encoding.should == Encoding.find('locale') + value.should.be_locale_env end end end |