diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-10-09 14:22:18 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-10-09 14:28:27 +0900 |
commit | 489c22b17f347d15500931397a1a4c8b66b023dd () | |
tree | dc1e47306675c8cf75c0eed686f5346ef8866e78 /tool/lib/core_assertions.rb | |
parent | 7e506716d2c7085c6f243705a0b6eb79b2176c49 (diff) |
Let `Test::Unit::CoreAssertions::AllFailures#for` yield the key
Similar to `Test::Unit::CoreAssertions::AllFailures#foreach`.
-rw-r--r-- | tool/lib/core_assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -640,7 +640,7 @@ eom def for(key) @count += 1 - yield rescue Exception => e @failures[key] = [@count, e] end |