summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-09 07:35:54 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-09 07:35:54 +0000
commit171015876297d4db028cf4a8b54906da83a20fb0 (patch)
tree6c84ad683c0217a51f2ae66a7b9c1a6040bcecad /test/ruby
parent61b762d89109bcddd38f0a181a07a9189987c0cc (diff)
downloadruby-171015876297d4db028cf4a8b54906da83a20fb0.tar.gz
ruby-171015876297d4db028cf4a8b54906da83a20fb0.tar.xz
ruby-171015876297d4db028cf4a8b54906da83a20fb0.zip
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
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_regexp.rb1
1 files changed, 0 insertions, 1 deletions
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 &amp; yyy".sub(/&(?<foo>.*?);/, '[\k<foo>]'))