mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_require.rb (test_require_with_loaded_features_pop):
Only remove PATH so threads don't accidentally double-pop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6cde2d359a
commit
d9166317ca
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Mar 9 03:35:22 2016 Charles Oliver Nutter <headius@headius.com>
|
||||
|
||||
* test/ruby/test_require.rb (test_require_with_loaded_features_pop):
|
||||
Only remove PATH so threads don't accidentally double-pop.
|
||||
|
||||
Wed Mar 9 00:29:46 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_method.c (rb_alias): the original name should be properly
|
||||
|
|
|
@ -686,7 +686,7 @@ class TestRequire < Test::Unit::TestCase
|
|||
Thread.new do
|
||||
ITERATIONS_PER_THREAD.times do
|
||||
require PATH
|
||||
$".pop
|
||||
$".delete_if {|p| Regexp.new(PATH) =~ p}
|
||||
end
|
||||
end
|
||||
}.each(&:join)
|
||||
|
|
Loading…
Reference in a new issue