From c1147c8df73eb61bc9d66e6628e0369e21f28670 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 11 Jul 2020 17:09:04 +0200 Subject: all: fix comments format Fix capitalization, dots at the end and two spaces after a period. Update #1876 --- pkg/vcs/fuchsia.go | 2 +- pkg/vcs/linux_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/vcs') diff --git a/pkg/vcs/fuchsia.go b/pkg/vcs/fuchsia.go index e00b31098..9b052e0de 100644 --- a/pkg/vcs/fuchsia.go +++ b/pkg/vcs/fuchsia.go @@ -27,7 +27,7 @@ func newFuchsia(vm, dir string) *fuchsia { func (ctx *fuchsia) Poll(repo, branch string) (*Commit, error) { if repo != "https://fuchsia.googlesource.com" || branch != "master" { - // fuchsia ecosystem is hard-tailored to the main repo. + // Fuchsia ecosystem is hard-wired to the main repo. return nil, fmt.Errorf("fuchsia: can only check out https://fuchsia.googlesource.com/master") } if _, err := runSandboxed(ctx.dir, "./.jiri_root/bin/jiri", "update"); err != nil { diff --git a/pkg/vcs/linux_test.go b/pkg/vcs/linux_test.go index bacf89edb..c2bfd17e0 100644 --- a/pkg/vcs/linux_test.go +++ b/pkg/vcs/linux_test.go @@ -18,9 +18,9 @@ import ( type MinimizationTest struct { config string baselineConfig string - // Output contains expected config option + // Output contains expected config option. expectedConfig string - // Minimization is expected to pass or fail + // Minimization is expected to pass or fail. passing bool } @@ -104,7 +104,7 @@ func createTestLinuxRepo(t *testing.T) string { t.Fatal(err) } - // Copy stubbed scripts used by config bisect + // Copy stubbed scripts used by config bisect. err = osutil.CopyFile("testdata/linux/config-bisect.pl", baseDir+"/tools/testing/ktest/config-bisect.pl") if err != nil { -- cgit mrf-deployment