2017-08-14 63 views

回答

2
def test_illegal 
    assert_raise(RuntimeError) { MyObject.new('a') } 
end