summaryrefslogtreecommitdiff
path: root/sample/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/test.rb')
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index b37178f96b..32b79a61f6 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(":")