glider-ssh/ssh_test.go
2021-11-18 20:07:30 -05:00

18 lines
250 B
Go

package glider_ssh
import (
"testing"
)
func TestKeysEqual(t *testing.T) {
defer func() {
if r := recover(); r != nil {
t.Errorf("The code did panic")
}
}()
if KeysEqual(nil, nil) {
t.Error("two nil keys should not return true")
}
}