summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-18 08:56:51 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-18 08:56:51 +0000
commitb487727ea43de143996d0a802813bbf39ee2b043 (patch)
tree9a1cbe98ff8ab7e5c8b02b024e46b142e84c2e1b /sample
parent35f851bcfe7e42ddf1b44606d2df4d4be9de9976 (diff)
* sample/test.rb: Hash#indexes -> Hash#select.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1919 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 a6ab98c..7022b4d 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -500,7 +500,7 @@ test_ok(begin
test_ok($x.length == 3)
test_ok($x.has_key?(1))
test_ok($x.has_value?(4))
-test_ok($x.indexes(2,3) == [4,6])
+test_ok($x.select(2,3) == [4,6])
test_ok($x == {1=>2, 2=>4, 3=>6})
$z = $y.keys.join(":")