aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/regexp/last_match_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/regexp/last_match_spec.rb')
-rw-r--r--spec/ruby/core/regexp/last_match_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/regexp/last_match_spec.rb b/spec/ruby/core/regexp/last_match_spec.rb
index ed496b7941..6bd8f2cd90 100644
--- a/spec/ruby/core/regexp/last_match_spec.rb
+++ b/spec/ruby/core/regexp/last_match_spec.rb
@@ -7,7 +7,7 @@ describe "Regexp.last_match" do
Regexp.last_match.should be_kind_of(MatchData)
end
- it "returns the nth field in this MatchData when passed a Fixnum" do
+ it "returns the nth field in this MatchData when passed an Integer" do
/c(.)t/ =~ 'cat'
Regexp.last_match(1).should == 'a'
end