summaryrefslogtreecommitdiff
path: root/rebase_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rebase_test.go')
-rw-r--r--rebase_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/rebase_test.go b/rebase_test.go
index f76baed..38d6868 100644
--- a/rebase_test.go
+++ b/rebase_test.go
@@ -143,6 +143,12 @@ func TestRebaseNoConflicts(t *testing.T) {
err = rebase.Finish()
checkFatal(t, err)
+ // Check no more rebase is in progress
+ oRebase, err = repo.RebaseOpen(nil)
+ if err == nil {
+ t.Fatal("Did not expect to find a rebase in progress")
+ }
+
// Check history is in correct order
actualHistory, err := commitMsgsList(repo)
checkFatal(t, err)