summaryrefslogtreecommitdiffhomepage
path: root/tempfork/gliderlabs/ssh/ssh_test.go
blob: aa301b0489f211b21197beada7e76a94012d67e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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")
	}
}