[client.keyset] test minmod
This commit is contained in:
parent
2560da5bbc
commit
d0225993fe
|
@ -156,7 +156,7 @@ func TestRestore(t *testing.T){
|
||||||
if err != nil { t.Fatalf("[Unexpected error] %s", err); }
|
if err != nil { t.Fatalf("[Unexpected error] %s", err); }
|
||||||
|
|
||||||
if len(buffer.Bytes()) != len(srcData.Bytes()) || buffer.String() != srcData.String() {
|
if len(buffer.Bytes()) != len(srcData.Bytes()) || buffer.String() != srcData.String() {
|
||||||
t.Fatalf("Expected restored keyset to be equal to original ; expected %x ; got %x", srcData, buffer);
|
t.Fatalf("Expected restored keyset to be equal to original ;\n - expected %x\n - got %x", srcData.String(), buffer.String());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue