[#37248] [Feature:1.9] Enumerator#inspect — "Yusuke ENDOH" <mame@...>

遠藤です。

12 messages 2008/12/02

[#37337] [Feature #841] Object#self — "rubikitch ." <redmine@...>

Feature #841: Object#self

13 messages 2008/12/09

[#37513] Current status of 1.9.1 RC1's issues — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, folks

14 messages 2008/12/20
[#37516] Re: Current status of 1.9.1 RC1's issues — Masatoshi SEKI <m_seki@...> 2008/12/20

咳といいます。

[#37576] [BUG:trunk] encoding for stdio's — "Yugui (Yuki Sonoda)" <yugui@...>

Yuguiです。

11 messages 2008/12/24

[ruby-dev:37480] [Bug #898] Test::Unit::Assertions#assert_nothing_raised does not increment number of assertions

From: Naohisa Goto <redmine@...>
Date: 2008-12-17 09:15:36 UTC
List: ruby-dev #37480
Bug #898: Test::Unit::Assertions#assert_nothing_raised does not increment number of assertions
http://redmine.ruby-lang.org/issues/show/898

起票者: Naohisa Goto
ステータス: Open, 優先度: Normal

assert_nothing_raised が assertionsの数を増やしません。

% ruby-trunk20840 -v -r test/unit -e 'class A < Test::Unit::TestCase; def test_b; assert_nothing_raised { true }; end; end'
ruby 1.9.1 (2008-12-17 revision 20840) [i686-linux]
nil
Loaded suite -e
Started
.
Finished in 0.000833 seconds.

1 tests, 0 assertions, 0 failures, 0 errors, 0 skips

"0 assertions"になっています。
(余計なnilが表示されるのはBug #876にて既に報告されています。)
Ruby 1.9.1 preview 2 でも同様に"0 assertions"でした。

Ruby 1.8.7 では正常にカウントされ"1 assertions"になります。

% ruby187p72 -v -r test/unit -e 'class A < Test::Unit::TestCase; def test_b; assert_nothing_raised { true }; end; end'
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
Loaded suite -e
Started
.
Finished in 0.001313 seconds.

1 tests, 1 assertions, 0 failures, 0 errors


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next