3 ms·
I see what you did here. Now write the code to test calling publish! without an argument provided for current_time.
by sbov 14y ago
I see what you did here.
Now write the code to test calling publish! without an argument provided for current_time.
- ssmoot 14y agoWhy? What's the point? Really? People shouldn't be losing sleep over testing their stdlib. FWIW, I've used a Time::warp function on several occasions. I really don't have a problem with this code. It's a straw man of an example.