aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/util_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'git-codereview/util_test.go')
-rw-r--r--git-codereview/util_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-codereview/util_test.go b/git-codereview/util_test.go
index 133c93a..ab8dced 100644
--- a/git-codereview/util_test.go
+++ b/git-codereview/util_test.go
@@ -90,6 +90,12 @@ func (gt *gitTest) work(t *testing.T) {
doWork(t, gt.nwork, gt.client, "file", "23456789")
}
+func (gt *gitTest) workFile(t *testing.T, file string) {
+ // make local change on client in the specific file
+ gt.nwork++
+ doWork(t, gt.nwork, gt.client, file, "23456789")
+}
+
func (gt *gitTest) serverWork(t *testing.T) {
// make change on server
// duplicating the sequence of changes in gt.work to simulate them