aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-11 17:09:04 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-12 08:22:44 +0200
commitc1147c8df73eb61bc9d66e6628e0369e21f28670 (patch)
tree1f5f75bf13a32941025c134fdd236fb137cf3181 /pkg/vcs
parent0faffd0438df859fb66236085ac3992735900d26 (diff)
all: fix comments format
Fix capitalization, dots at the end and two spaces after a period. Update #1876
Diffstat (limited to 'pkg/vcs')
-rw-r--r--pkg/vcs/fuchsia.go2
-rw-r--r--pkg/vcs/linux_test.go6
2 files changed, 4 insertions, 4 deletions
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 {