diff options
Diffstat (limited to 'spec/ruby/core/regexp/match_spec.rb')
-rw-r--r-- | spec/ruby/core/regexp/match_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/regexp/match_spec.rb b/spec/ruby/core/regexp/match_spec.rb index e3247a088d..edac0d1d42 100644 --- a/spec/ruby/core/regexp/match_spec.rb +++ b/spec/ruby/core/regexp/match_spec.rb @@ -100,7 +100,7 @@ describe "Regexp#match" do $~.should be_nil end - it "raises TypeError when the given argument cannot be coarce to String" do + it "raises TypeError when the given argument cannot be coerced to String" do f = 1 lambda { /foo/.match(f)[0] }.should raise_error(TypeError) end |