summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/symbol/upcase_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/symbol/upcase_spec.rb')
-rw-r--r--spec/rubyspec/core/symbol/upcase_spec.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/rubyspec/core/symbol/upcase_spec.rb b/spec/rubyspec/core/symbol/upcase_spec.rb
deleted file mode 100644
index fce62af100..0000000000
--- a/spec/rubyspec/core/symbol/upcase_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../../../spec_helper', __FILE__)
-
-describe "Symbol#upcase" do
- it "returns a Symbol" do
- :glark.upcase.should be_an_instance_of(Symbol)
- end
-
- it "converts lowercase ASCII characters to their uppercase equivalents" do
- :lOwEr.upcase.should == :LOWER
- end
-
- ruby_version_is ''...'2.4' do
- it "leaves lowercase Unicode characters as they were" do
- "\u{E0}Bc".to_sym.upcase.should == :"àBC"
- end
- end
-
- it "leaves non-alphabetic ASCII characters as they were" do
- "Glark?!?".to_sym.upcase.should == :"GLARK?!?"
- end
-end