From 171015876297d4db028cf4a8b54906da83a20fb0 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 9 Dec 2007 07:35:54 +0000 Subject: document named capture of MatchData#{offset,begin,end,inspect}. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_regexp.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index f052b946c..09022629d 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -57,7 +57,6 @@ class TestRegexp < Test::Unit::TestCase assert_equal(5, m.begin(:foo)) assert_equal(8, m.end(:foo)) assert_equal([5,8], m.offset(:foo)) - #assert_equal(["amp"], m.values_at(:foo)) assert_equal("aaa [amp] yyy", "aaa & yyy".sub(/&(?.*?);/, '[\k]')) -- cgit