Slide 37
Slide 37 text
1) Failure:
TestPowerAssert#test_power_assert_failed [test/test_power_assert.rb:10]:
assert { "0".class == "3".to_i.times.map {|i| i + 1 }.class }
| | | | |
| | | | Array
| | | [1, 2, 3]
| | #
| 3
String
class TestPowerAssert < Minitest::Test
def test_power_assert_failed
assert { "0".class == "3".to_i.times.map {|i| i + 1 }.class }
end
end
testcase
assertion