From: Simon Ruderich Date: Sun, 15 Dec 2019 14:50:10 +0000 (+0100) Subject: nsscash: fix typos in comments X-Git-Tag: 0.1~5 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=271a54506b9931ca647f065d3b686b1932b3600b;p=nsscash%2Fnsscash.git nsscash: fix typos in comments --- 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)