forked from mystiq/dex
13 lines
197 B
Go
13 lines
197 B
Go
|
package db
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestNewPrivateKeySetRepoInvalidKey(t *testing.T) {
|
||
|
_, err := NewPrivateKeySetRepo(nil, "sharks")
|
||
|
if err == nil {
|
||
|
t.Fatalf("Expected non-nil error")
|
||
|
}
|
||
|
}
|