• Kirill Smelkov's avatar
    time: test: Add test for stop on func-based Timer · d0b9a2f9
    Kirill Smelkov authored
    I was working on Timer-related topics and started to suspect that stop
    might become panicking when draining timer channel if func != nil. That
    turned out to be not true - the code is correct as it is, but it
    generally helps to have tests covering questionable functionality.
    d0b9a2f9
time_test.py 6.46 KB