From 3d4376d16777cb97ebd1d12e338462ef7311223e Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 23 Feb 2005 13:52:19 +0000 Subject: * 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 --- sample/test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sample') 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) -- cgit v1.2.3