From 75334db3c6479ea3cd7462d36ca5464d386f9c72 Mon Sep 17 00:00:00 2001 From: eregon Date: Thu, 7 Feb 2019 16:35:33 +0000 Subject: Update to ruby/spec@6cf8ebe git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/string/setbyte_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/ruby/core/string/setbyte_spec.rb') diff --git a/spec/ruby/core/string/setbyte_spec.rb b/spec/ruby/core/string/setbyte_spec.rb index f998e61622..3f2e03f8a8 100644 --- a/spec/ruby/core/string/setbyte_spec.rb +++ b/spec/ruby/core/string/setbyte_spec.rb @@ -54,7 +54,7 @@ describe "String#setbyte" do lambda { "?".setbyte(1, 97) }.should raise_error(IndexError) end - it "raises an IndexError if the nexgative index is greater magnitude than the String bytesize" do + it "raises an IndexError if the negative index is greater magnitude than the String bytesize" do lambda { "???".setbyte(-5, 97) }.should raise_error(IndexError) end -- cgit v1.2.3