Skip to content

Commit c5e58b0

Browse files
Fix typos found by codespell (#142)
Signed-off-by: Dimitri Papadopoulos <[email protected]>
1 parent 925a1e7 commit c5e58b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/wglinux/parse_linux_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ func TestLinuxClientDevicesOK(t *testing.T) {
378378
}...),
379379
}),
380380
},
381-
// Continuation of prevoius peer list, new peer list.
381+
// Continuation of previous peer list, new peer list.
382382
{
383383
Data: m(netlink.Attribute{
384384
Type: unix.WGDEVICE_A_PEERS,

wgtypes/types_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func TestKeyExchange(t *testing.T) {
3737
privA, pubA := mustKeyPair()
3838
privB, pubB := mustKeyPair()
3939

40-
// Perform ECDH key exhange: https://cr.yp.to/ecdh.html.
40+
// Perform ECDH key exchange: https://cr.yp.to/ecdh.html.
4141
sharedA, err := curve25519.X25519(privA[:], pubB[:])
4242
if err != nil {
4343
t.Fatalf("failed to perform X25519 A: %v", err)

0 commit comments

Comments
 (0)