aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/string/downcase_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/string/downcase_spec.rb')
-rw-r--r--spec/rubyspec/core/string/downcase_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/rubyspec/core/string/downcase_spec.rb b/spec/rubyspec/core/string/downcase_spec.rb
index d31b6633df..9ebc4f2bd1 100644
--- a/spec/rubyspec/core/string/downcase_spec.rb
+++ b/spec/rubyspec/core/string/downcase_spec.rb
@@ -22,6 +22,12 @@ describe "String#downcase" do
end
end
+ ruby_version_is '2.4' do
+ it "works for all of Unicode" do
+ "ÄÖÜ".downcase.should == "äöü"
+ end
+ end
+
it "taints result when self is tainted" do
"".taint.downcase.tainted?.should == true
"x".taint.downcase.tainted?.should == true