You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package 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")
|
|
}
|
|
}
|
|
|