From 03e10c56391b1d7ca7e2c4e59417500bea2bd242 Mon Sep 17 00:00:00 2001 From: ezwiebel Date: Wed, 14 Sep 2016 14:42:58 +1000 Subject: Fix reference bug introduced with RebaseOptions implementation --- rebase_test.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rebase_test.go') 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) -- cgit v1.2.3