pkg/signal: remove unnescessary conversion (unconvert)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-08-06 19:59:23 +02:00
parent a46ad5e704
commit 3a16c7246a
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -28,7 +28,7 @@ func TestValidSignalForPlatform(t *testing.T) {
assert.Check(t, is.Equal(false, isValidSignal))
for _, sigN := range SignalMap {
isValidSignal = ValidSignalForPlatform(syscall.Signal(sigN))
isValidSignal = ValidSignalForPlatform(sigN)
assert.Check(t, is.Equal(true, isValidSignal))
}
}