From 3655c97850f8709016def64cb19ca3b035b05484 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 5 Feb 2017 18:51:52 +0100 Subject: [PATCH] cmd/syncthing, lib/fs, lib/sync: Spelling in comments --- cmd/syncthing/gui.go | 2 +- lib/fs/mtimefs_test.go | 2 +- lib/sync/sync_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index f9d68ce9..97b02b62 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -343,7 +343,7 @@ func (s *apiService) Serve() { s.started <- listener.Addr().String() } - // Indicate successfull initial startup, to ourselves and to interested + // Indicate successful initial startup, to ourselves and to interested // listeners (i.e. the thing that starts the browser). select { case <-s.startedOnce: diff --git a/lib/fs/mtimefs_test.go b/lib/fs/mtimefs_test.go index 57c841d4..07b4b46c 100644 --- a/lib/fs/mtimefs_test.go +++ b/lib/fs/mtimefs_test.go @@ -45,7 +45,7 @@ func TestMtimeFS(t *testing.T) { t.Error("Should not have failed:", err) } - // All of the calls were successfull, so an Lstat on them should return + // All of the calls were successful, so an Lstat on them should return // the test timestamp. for _, file := range []string{"testdata/exists0", "testdata/exists1", "testdata/exists2"} { diff --git a/lib/sync/sync_test.go b/lib/sync/sync_test.go index 14f103a2..86c431fb 100644 --- a/lib/sync/sync_test.go +++ b/lib/sync/sync_test.go @@ -234,7 +234,7 @@ func TestTimeoutCond(t *testing.T) { // See the comments in runLocks const ( - // Low values to avoid being intrusive in continous testing. Can be + // Low values to avoid being intrusive in continuous testing. Can be // increased significantly for stress testing. iterations = 100 routines = 10