aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/submit_test.go
diff options
context:
space:
mode:
authorAdam Bender <abender@gmail.com>2025-06-11 19:12:34 -0700
committerGopher Robot <gobot@golang.org>2025-06-17 10:40:36 -0700
commitc4af2b031e13e282462ea8ae4311bfabe115ae9d (patch)
treef9bbfdebdd23b2e0c3fe3c838abfb6f6849211bf /git-codereview/submit_test.go
parentd5c513ca99314c64746d8c23dd8c126b9dbb3823 (diff)
downloadgo-x-review-c4af2b031e13e282462ea8ae4311bfabe115ae9d.tar.xz
git-codereview: explicitly include the codereview subcommand in suggested commands
If a user does not have the recommended aliases in their .gitconfig, the suggested command will not work. Several suggestions have the codereview subcommand already; this change updates all suggestions to include it. Change-Id: I3613f24172c2d90a7038f263cad93cbdcddbbbca Reviewed-on: https://go-review.googlesource.com/c/review/+/681176 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Sean Liao <sean@liao.dev> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Sean Liao <sean@liao.dev>
Diffstat (limited to 'git-codereview/submit_test.go')
-rw-r--r--git-codereview/submit_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/submit_test.go b/git-codereview/submit_test.go
index 3e18fd8..657f6ba 100644
--- a/git-codereview/submit_test.go
+++ b/git-codereview/submit_test.go
@@ -71,7 +71,7 @@ func TestSubmitErrors(t *testing.T) {
srv.setJSON(id, `{"status": "MERGED"}`)
testMainDied(t, "submit")
testRan(t) // nothing
- testPrintedStderr(t, "cannot submit: change already submitted, run 'git sync'")
+ testPrintedStderr(t, "cannot submit: change already submitted, run 'git codereview sync'")
t.Logf("> abandoned")
srv.setJSON(id, `{"status": "ABANDONED"}`)