aboutsummaryrefslogtreecommitdiff
path: root/nacl
diff options
context:
space:
mode:
Diffstat (limited to 'nacl')
-rw-r--r--nacl/box/box_test.go2
-rw-r--r--nacl/sign/sign_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/nacl/box/box_test.go b/nacl/box/box_test.go
index cce1f3b..4049257 100644
--- a/nacl/box/box_test.go
+++ b/nacl/box/box_test.go
@@ -114,7 +114,7 @@ func TestSealOpenAnonymous(t *testing.T) {
t.Fatal("expected out to be unchanged")
}
if !bytes.HasPrefix(box, orig) {
- t.Fatal("expected out to be coppied to returned slice")
+ t.Fatal("expected out to be copied to returned slice")
}
_, ok = OpenAnonymous(nil, box[len(out):], publicKey, privateKey)
if !ok {
diff --git a/nacl/sign/sign_test.go b/nacl/sign/sign_test.go
index db26901..95ba801 100644
--- a/nacl/sign/sign_test.go
+++ b/nacl/sign/sign_test.go
@@ -69,6 +69,6 @@ func TestGenerateSignOpen(t *testing.T) {
}
if !bytes.Equal(message, testMessage) {
- t.Fatalf("verified message does not match signed messge, got\n%x\n, expected\n%x", message, testMessage)
+ t.Fatalf("verified message does not match signed message, got\n%x\n, expected\n%x", message, testMessage)
}
}