summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/regexp/match_spec.rb2
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 cac2405c94..c117dcac69 100644
--- a/spec/ruby/core/regexp/match_spec.rb
+++ b/spec/ruby/core/regexp/match_spec.rb
@@ -92,7 +92,7 @@ describe "Regexp#match" do
# set $~
/./.match("a")
$~.should be_kind_of(MatchData)
-
+
/1/.match(nil)
$~.should be_nil
end