From ead7008a08f9ace4591ebbc03e63fdc7ef37e502 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 10 May 2020 00:25:49 +0200 Subject: Fix spelling mistakes found by misspell https://github.com/client9/misspell --- tests/matrix/concurrency_test.go | 2 +- tests/test_helpers/mount_unmount.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/matrix/concurrency_test.go b/tests/matrix/concurrency_test.go index 7fd3a00..205becb 100644 --- a/tests/matrix/concurrency_test.go +++ b/tests/matrix/concurrency_test.go @@ -82,7 +82,7 @@ func TestConcurrentReadCreate(t *testing.T) { content := []byte("1234567890") loops := 100 var wg sync.WaitGroup - // "Creater" thread + // "Create()" thread wg.Add(1) go func() { for i := 0; i < loops; i++ { diff --git a/tests/test_helpers/mount_unmount.go b/tests/test_helpers/mount_unmount.go index 753ae1a..cdbdee8 100644 --- a/tests/test_helpers/mount_unmount.go +++ b/tests/test_helpers/mount_unmount.go @@ -28,7 +28,7 @@ type mountInfo struct { // Creates "p" if it does not exist. // // Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for -// getting the master key) explicitely. +// getting the master key) explicitly. func Mount(c string, p string, showOutput bool, extraArgs ...string) error { args := []string{"-q", "-wpanic", "-nosyslog", "-fg", fmt.Sprintf("-notifypid=%d", os.Getpid())} args = append(args, extraArgs...) @@ -98,7 +98,7 @@ func Mount(c string, p string, showOutput bool, extraArgs ...string) error { // MountOrExit calls Mount() and exits on failure. // // Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for -// getting the master key) explicitely. +// getting the master key) explicitly. func MountOrExit(c string, p string, extraArgs ...string) { err := Mount(c, p, true, extraArgs...) if err != nil { @@ -110,7 +110,7 @@ func MountOrExit(c string, p string, extraArgs ...string) { // MountOrFatal calls Mount() and calls t.Fatal() on failure. // // Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for -// getting the master key) explicitely. +// getting the master key) explicitly. func MountOrFatal(t *testing.T, c string, p string, extraArgs ...string) { err := Mount(c, p, true, extraArgs...) if err != nil { -- cgit v1.2.3