summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--sample/test.rb2
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b3ac1bd56..746263be50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,16 @@
-Mon Dec 17 18:53:49 2001 K.Kosako <kosako@sofnec.co.jp>
+Tue Dec 18 17:54:53 2001 WATANABE Hirofumi <eban@ruby-lang.org>
- * string.c (rb_str_replace): swap arguments of OBJ_INFECT.
+ * sample/test.rb: Hash#indexes -> Hash#select.
Tue Dec 18 01:02:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_thread_schedule): should not select a thread which is
not yet initialized.
+Mon Dec 17 18:53:49 2001 K.Kosako <kosako@sofnec.co.jp>
+
+ * string.c (rb_str_replace): swap arguments of OBJ_INFECT.
+
Mon Dec 17 16:52:20 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* intern.h: add prototypes.
diff --git a/sample/test.rb b/sample/test.rb
index a6ab98ca63..7022b4de98 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(":")