2015-08-18 05:57:27 +05:30
|
|
|
package db
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestNewPrivateKeySetRepoInvalidKey(t *testing.T) {
|
2015-08-26 05:11:20 +05:30
|
|
|
_, err := NewPrivateKeySetRepo(nil, []byte("sharks"))
|
2015-08-18 05:57:27 +05:30
|
|
|
if err == nil {
|
|
|
|
t.Fatalf("Expected non-nil error")
|
|
|
|
}
|
|
|
|
}
|