From: Naohisa Goto Date: 2009-01-05T22:16:15+09:00 Subject: [ruby-dev:37703] [Bug #984] Test::Unit::Assertions#assert_match double counts number of assertions Bug #984: Test::Unit::Assertions#assert_match double counts number of assertions http://redmine.ruby-lang.org/issues/show/984 起票者: Naohisa Goto ステータス: Open, 優先度: Normal Ruby 1.9.1-rc1 にて、Test::Unit::Assertions#assert_match が assertionsの数を1回あたり2ずつ増やしています。 なお、failure の数は正しく増えています。 以下の例では、2回しかassert_matchを実行しないはずなのに"4 assertions"になっています。 $ ruby191rc1 -v -r test/unit -e 'class A expected to be =~ . 2 tests, 2 assertions, 1 failures, 0 errors ---------------------------------------- http://redmine.ruby-lang.org