From 99a1661ae741413719ef29c2267e52d1a7d59146 Mon Sep 17 00:00:00 2001 From: hishope Date: Thu, 7 Mar 2024 15:56:25 +0800 Subject: [PATCH] docs: remove repetitive words Signed-off-by: hishope --- internal/aghnet/net_internal_test.go | 2 +- internal/arpdb/arpdb_internal_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/aghnet/net_internal_test.go b/internal/aghnet/net_internal_test.go index 6b5dc392353..aed7532b630 100644 --- a/internal/aghnet/net_internal_test.go +++ b/internal/aghnet/net_internal_test.go @@ -30,7 +30,7 @@ func substRootDirFS(t testing.TB, fsys fs.FS) { // RunCmdFunc is the signature of aghos.RunCommand function. type RunCmdFunc func(cmd string, args ...string) (code int, out []byte, err error) -// substShell replaces the the aghos.RunCommand function used throughout the +// substShell replaces the aghos.RunCommand function used throughout the // package with rc for tests ran under t. func substShell(t testing.TB, rc RunCmdFunc) { t.Helper() diff --git a/internal/arpdb/arpdb_internal_test.go b/internal/arpdb/arpdb_internal_test.go index dfd576148f8..e3ed9486656 100644 --- a/internal/arpdb/arpdb_internal_test.go +++ b/internal/arpdb/arpdb_internal_test.go @@ -22,7 +22,7 @@ var testdata fs.FS = os.DirFS("./testdata") // RunCmdFunc is the signature of aghos.RunCommand function. type RunCmdFunc func(cmd string, args ...string) (code int, out []byte, err error) -// substShell replaces the the aghos.RunCommand function used throughout the +// substShell replaces the aghos.RunCommand function used throughout the // package with rc for tests ran under t. func substShell(t testing.TB, rc RunCmdFunc) { t.Helper()