diff options
Diffstat (limited to 'bug')
-rw-r--r-- | bug/bug_actions.go | 2 | ||||
-rw-r--r-- | bug/operation_iterator_test.go | 14 |
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() |