summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-04-17 20:57:31 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-04-17 20:57:46 +0900
commit50f3e93c809c207f73ee61e6e64c829e06f0b81b (patch)
tree2af2dfa4ad41733c984cb52da31e9f7ef3abe791 /spec
parentbe52c728899b44e063e041e4042dc0ebce9d5d68 (diff)
Fix a typo
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/string/shared/to_sym.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/shared/to_sym.rb b/spec/ruby/core/string/shared/to_sym.rb
index 7bd3a0510c..ef7c22bb6a 100644
--- a/spec/ruby/core/string/shared/to_sym.rb
+++ b/spec/ruby/core/string/shared/to_sym.rb
@@ -53,7 +53,7 @@ describe :string_to_sym, shared: true do
sym.to_s.should == binary_string
end
- it "ignores exising symbols with different encoding" do
+ it "ignores existing symbols with different encoding" do
source = "fée"
iso_symbol = source.force_encoding(Encoding::ISO_8859_1).send(@method)