1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* class.c (rb_obj_singleton_methods): should not go up to

ancestors unless the recursive flag is set. [ruby-list:38007]

* hash.c (env_each_key): use env_keys to avoid environment modify
  on the fly.

* hash.c (env_each_value): use env_values for safety.

* hash.c (env_each): allocate environment array first.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-08-01 20:16:53 +00:00
parent baf02b9a63
commit cdacb127fc
6 changed files with 453 additions and 337 deletions

View file

@ -175,7 +175,8 @@ at_exit {
runners = {
'--console' => proc do |suite|
require 'test/unit/ui/console/testrunner'
Test::Unit::UI::Console::TestRunner.run(suite)
passed = Test::Unit::UI::Console::TestRunner.run(suite).passed?
exit(passed ? 0 : 1)
end,
'--gtk' => proc do |suite|
require 'test/unit/ui/gtk/testrunner'