package signalcontext import ( "os" "testing" "github.com/stretchr/testify/assert" ) func TestError(t *testing.T) { assert.EqualError(t, Error{os.Interrupt}, "received signal: "+os.Interrupt.String()) }