diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-23 13:52:19 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-23 13:52:19 +0000 |
commit | 3d4376d16777cb97ebd1d12e338462ef7311223e (patch) | |
tree | 71ef957dd9c0248a5d9d35ebc7481e5ec8163d95 /sample/test.rb | |
parent | 616a75e7e3db6a6c343f292e19d5afd531a2dc00 (diff) |
* array.c (rb_ary_s_create): no need for negative argc check.
[ruby-core:04463]
* array.c (rb_ary_unshift_m): ditto.
* lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
of StandardError class, not Exception class. [ruby-core:04429]
* lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
fixed: [ruby-core:04444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/test.rb')
-rw-r--r-- | sample/test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/test.rb b/sample/test.rb index 65cfcad475..e7f2d251b7 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -787,10 +787,10 @@ test_ok($x.has_value?(4)) test_ok($x.values_at(2,3) == [4,6]) test_ok($x == {1=>2, 2=>4, 3=>6}) -$z = $y.keys.join(":") +$z = $y.keys.sort.join(":") test_ok($z == "1:2:3") -$z = $y.values.join(":") +$z = $y.values.sort.join(":") test_ok($z == "2:4:6") test_ok($x == $y) |