From 271a54506b9931ca647f065d3b686b1932b3600b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 15 Dec 2019 15:50:10 +0100 Subject: [PATCH] nsscash: fix typos in comments --- group.go | 2 +- main_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/group.go b/group.go index 66da8f0..4741171 100644 --- a/group.go +++ b/group.go @@ -194,7 +194,7 @@ func SerializeGroups(w io.Writer, grs []Group) error { tmp := make([]byte, 8) // Create index "sorted" in input order, used when iterating over all - // passwd entries (getgrent_r); keeping the original order makes + // group entries (getgrent_r); keeping the original order makes // debugging easier var indexOrig bytes.Buffer for _, g := range grs { diff --git a/main_test.go b/main_test.go index c4afa79..4e9a83b 100644 --- a/main_test.go +++ b/main_test.go @@ -156,8 +156,8 @@ func mustMakeOld(t *testing.T, paths ...string) { } } -// mustMakeOld verifies that all paths have a modification time in the past, -// as set by mustMakeOld(). +// mustBeOld verifies that all paths have a modification time in the past, as +// set by mustMakeOld. func mustBeOld(t *testing.T, paths ...string) { for _, p := range paths { i, err := os.Stat(p) -- 2.45.2