summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/shared/codepoints.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/shared/codepoints.rb')
-rw-r--r--spec/ruby/core/string/shared/codepoints.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/shared/codepoints.rb b/spec/ruby/core/string/shared/codepoints.rb
index 68f82b4468..589d2ee1d0 100644
--- a/spec/ruby/core/string/shared/codepoints.rb
+++ b/spec/ruby/core/string/shared/codepoints.rb
@@ -48,7 +48,7 @@ describe :string_codepoints, shared: true do
s.should == s2
end
- it "is synonymous with #bytes for Strings which are single-byte optimisable" do
+ it "is synonymous with #bytes for Strings which are single-byte optimizable" do
s = "(){}".encode('ascii')
s.ascii_only?.should be_true
s.send(@method).to_a.should == s.bytes.to_a