anyhttp/idle/idle_test.go

12 lines
129 B
Go
Raw Normal View History

2023-05-08 22:37:03 -04:00
package idle
import (
"testing"
"time"
)
func TestIdlerChan(_ *testing.T) {
2023-05-08 22:37:03 -04:00
i := CreateIdler(1 * time.Second)
<-i.Chan()
}