summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-05 10:05:11 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-05 10:05:11 +0000
commitb65e3629dad9fba8f37202d3dc0103d9d08c1396 (patch)
treea1f72cf510d0c0ef6e9c558fd0dde97aaf05e5fe /sample
parent79f7c2b1b69fa8eb3d6aae5c881c9ac3015001fb (diff)
* sample/test.rb: substitute 'select' with 'values_at'.
* lib/date.rb: ditto. * lib/parsedate.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index b37178f..32b79a6 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -758,7 +758,7 @@ test_ok(begin
test_ok($x.length == 3)
test_ok($x.has_key?(1))
test_ok($x.has_value?(4))
-test_ok($x.select(2,3) == [4,6])
+test_ok($x.values_at(2,3) == [4,6])
test_ok($x == {1=>2, 2=>4, 3=>6})
$z = $y.keys.join(":")