github.com/shuguocloud/go-zero@v1.3.0/core/proc/stopper_test.go (about) 1 package proc 2 3 import "testing" 4 5 func TestNopStopper(t *testing.T) { 6 // no panic 7 noopStopper.Stop() 8 }