From 6d85a94767ece276495033de55e9337e89aeb207 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 14 Jan 2023 12:59:47 -0800 Subject: [PATCH] net/{packet,tstun}: fix typo in test helper docs Change-Id: Ifc1684fe77c7d2585e049e0dfd7340910c47a67a Signed-off-by: Brad Fitzpatrick --- net/packet/packet_test.go | 2 +- net/tstun/wrap_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/packet/packet_test.go b/net/packet/packet_test.go index fadbf97ab..dfce06610 100644 --- a/net/packet/packet_test.go +++ b/net/packet/packet_test.go @@ -445,7 +445,7 @@ func TestParsedString(t *testing.T) { } // mustHexDecode is like hex.DecodeString, but panics on error -// and ignores whitespcae in s. +// and ignores whitespace in s. func mustHexDecode(s string) []byte { return must.Get(hex.DecodeString(strings.Map(func(r rune) rune { if unicode.IsSpace(r) { diff --git a/net/tstun/wrap_test.go b/net/tstun/wrap_test.go index 41b8be32b..86fbd6078 100644 --- a/net/tstun/wrap_test.go +++ b/net/tstun/wrap_test.go @@ -297,7 +297,7 @@ func TestWriteAndInject(t *testing.T) { } // mustHexDecode is like hex.DecodeString, but panics on error -// and ignores whitespcae in s. +// and ignores whitespace in s. func mustHexDecode(s string) []byte { return must.Get(hex.DecodeString(strings.Map(func(r rune) rune { if unicode.IsSpace(r) {