* sample/test.rb: Hash#indexes -> Hash#select.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35f851bcfe
commit
b487727ea4
@ -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>
|
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
|
* eval.c (rb_thread_schedule): should not select a thread which is
|
||||||
not yet initialized.
|
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>
|
Mon Dec 17 16:52:20 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||||
|
|
||||||
* intern.h: add prototypes.
|
* intern.h: add prototypes.
|
||||||
|
@ -500,7 +500,7 @@ test_ok(begin
|
|||||||
test_ok($x.length == 3)
|
test_ok($x.length == 3)
|
||||||
test_ok($x.has_key?(1))
|
test_ok($x.has_key?(1))
|
||||||
test_ok($x.has_value?(4))
|
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})
|
test_ok($x == {1=>2, 2=>4, 3=>6})
|
||||||
|
|
||||||
$z = $y.keys.join(":")
|
$z = $y.keys.join(":")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user