Closed tommay closed 9 years ago
This simplifies and drys things up re block_given? in minitest/helpers.rb. At least I'm looking at more of the test code now. If you think my code is ugly just say so.
thanks, i think i had this whacky idea that &block in the method signature made blocks required. don't know why that was in my brain. :+1:
&block
This simplifies and drys things up re block_given? in minitest/helpers.rb. At least I'm looking at more of the test code now. If you think my code is ugly just say so.