aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-24 18:49:12 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:52:53 +0100
commit46beb4b886761ff69abe2ce45c2498a4fafe50d9 (patch)
tree2722505d859d93a309e6fcee40af7812c74d1220 /bug
parent475b7b4c490bc3729772932f2d7bbcabb8f781a7 (diff)
downloadgit-bug-46beb4b886761ff69abe2ce45c2498a4fafe50d9.tar.gz
identity: another round of cleanups
Diffstat (limited to 'bug')
-rw-r--r--bug/bug_actions.go2
-rw-r--r--bug/operation_iterator_test.go14
2 files changed, 1 insertions, 15 deletions
diff --git a/bug/bug_actions.go b/bug/bug_actions.go
index b906b938..20360200 100644
--- a/bug/bug_actions.go
+++ b/bug/bug_actions.go
@@ -11,7 +11,7 @@ import (
// Note:
//
-// For the actions (fetch/push/pull/merge), this package act as a master for
+// For the actions (fetch/push/pull/merge/commit), this package act as a master for
// the identity package and will also drive the needed identity actions. That is,
// if bug.Push() is called, identity.Push will also be called to make sure that
// the dependant identities are also present and up to date on the remote.
diff --git a/bug/operation_iterator_test.go b/bug/operation_iterator_test.go
index 2865d25d..b922bec1 100644
--- a/bug/operation_iterator_test.go
+++ b/bug/operation_iterator_test.go
@@ -9,20 +9,6 @@ import (
"time"
)
-var (
-// Beware, don't those test data in multi-repo situation !
-// As an example, the Identity would be considered commited after a commit
-// in one repo,
-// rene = identity.NewIdentity("René Descartes", "rene@descartes.fr")
-// unix = time.Now().Unix()
-
-// createOp = NewCreateOp(rene, unix, "title", "message", nil)
-// setTitleOp = NewSetTitleOp(rene, unix, "title2", "title1")
-// addCommentOp = NewAddCommentOp(rene, unix, "message2", nil)
-// setStatusOp = NewSetStatusOp(rene, unix, ClosedStatus)
-// labelChangeOp = NewLabelChangeOperation(rene, unix, []Label{"added"}, []Label{"removed"})
-)
-
func ExampleOperationIterator() {
b := NewBug()