* test/ruby/test_require.rb
(TestRequire#test_require_to_path_redefined_in_load_path, TestRequire#test_require_to_str_redefined_in_load_path): Suppress method redefined warning when test-all with RUBYOPT=-w. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4e73323a60
commit
c9fc6b08ae
@ -1,3 +1,10 @@
|
||||
Tue Nov 6 05:48:06 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com>
|
||||
|
||||
* test/ruby/test_require.rb
|
||||
(TestRequire#test_require_to_path_redefined_in_load_path,
|
||||
TestRequire#test_require_to_str_redefined_in_load_path):
|
||||
Suppress method redefined warning when test-all with RUBYOPT=-w.
|
||||
|
||||
Mon Nov 5 11:40:00 2012 Mark Somerville <mark@scottishclmibs.com>
|
||||
|
||||
* thread_pthread.c (rb_reserved_fd_p): fix typo in macro check
|
||||
|
@ -501,7 +501,7 @@ class TestRequire < Test::Unit::TestCase
|
||||
Dir.mktmpdir {|tmp|
|
||||
Dir.chdir(tmp) {
|
||||
open("foo.rb", "w") {}
|
||||
assert_in_out_err([], <<-INPUT, %w(:ok), [], bug7158)
|
||||
assert_in_out_err(["RUBYOPT"=>nil], <<-INPUT, %w(:ok), [], bug7158)
|
||||
a = Object.new
|
||||
def a.to_path
|
||||
"bar"
|
||||
@ -526,7 +526,7 @@ class TestRequire < Test::Unit::TestCase
|
||||
Dir.mktmpdir {|tmp|
|
||||
Dir.chdir(tmp) {
|
||||
open("foo.rb", "w") {}
|
||||
assert_in_out_err([], <<-INPUT, %w(:ok), [], bug7158)
|
||||
assert_in_out_err(["RUBYOPT"=>nil], <<-INPUT, %w(:ok), [], bug7158)
|
||||
a = Object.new
|
||||
def a.to_str
|
||||
"foo"
|
||||
|
Loading…
x
Reference in New Issue
Block a user