git-codereview: specify --no-track in TestPendingNoneBranch
This is a similar fix to CL 23969.
Change-Id: Ief0fefd25e471d314234bd939150db8a9af74447
Reviewed-on: https://go-review.googlesource.com/24000
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
diff --git a/git-codereview/pending_test.go b/git-codereview/pending_test.go
index f4168ac..e9a6b02 100644
--- a/git-codereview/pending_test.go
+++ b/git-codereview/pending_test.go
@@ -27,7 +27,7 @@
gt := newGitTest(t)
defer gt.done()
- trun(t, gt.client, "git", "checkout", "-b", "work")
+ trun(t, gt.client, "git", "checkout", "--no-track", "-b", "work")
testPending(t, `
work (current branch)