Actions
Bug #4336
closedtest_require.rb#test_require_path_home が test failure
Bug #4336:
test_require.rb#test_require_path_home が test failure
Description
=begin
r30660でエラー時のメッセージがfprintfからrb_warningにかわったので、(つまり無引数の時にはエラーが出なくなったので)
テストが失敗します。
テストを追従させるつもりでいますが、r30660のrevertのほうが好ましいという人がいたら教えてください。
- Failure:
test_require_path_home(TestRequire) [/home/kosaki/linux/ruby-svn/ruby/test/ruby/test_require.rb:55]:
Expected /pathname too long (ignored).*(LoadError)/m to match "/home/kosaki/linux/ruby-svn/ruby/ruby: No such file or directory -- test_ruby_test_require (LoadError)\n".
=end
Updated by kosaki (Motohiro KOSAKI) over 15 years ago
Updated by kosaki (Motohiro KOSAKI) over 15 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r30704.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2}):
Added -w option because too long path error don't output a message
by default since r30660. [Bug #4336] [ruby-dev:43134]
=end
Updated by kosaki (Motohiro KOSAKI) over 15 years ago
=begin
以下の失敗も同じ原因ですね
- Failure:
test_require_too_long_filename(TestRequire) [/home/kosaki/linux/ruby-svn/ruby/test/ruby/test_require.rb:32]:
Expected 2 to be <= 1.
=end
Actions