summaryrefslogtreecommitdiff
path: root/rebase_test.go
diff options
context:
space:
mode:
authorezwiebel <[email protected]>2016-11-23 17:10:59 +1100
committerezwiebel <[email protected]>2016-11-23 17:10:59 +1100
commit6118c9ba37f494cbb892aa686416280ae6ee6593 (patch)
tree9d4ea7a3edc3f6e11dab1aa585fd25e34c68fe89 /rebase_test.go
parenta671e67ee884c0c69b6216ac0bff01dfde4dd622 (diff)
LockOSThread in CurrentOperationIndex for git error creation
Diffstat (limited to 'rebase_test.go')
-rw-r--r--rebase_test.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/rebase_test.go b/rebase_test.go
index 9c8e0c2..fb88a4e 100644
--- a/rebase_test.go
+++ b/rebase_test.go
@@ -9,29 +9,6 @@ import (
// Tests
-func TestDefaultRebaseOptions(t *testing.T) {
- opts, err := DefaultRebaseOptions()
- checkFatal(t, err)
-
- if opts.Version != 1 {
- t.Error("Expected opts Version to equal 1, got ", opts.Version)
- }
- if opts.Quiet != 0 {
- t.Error("Expected opts Quiet to equal 1, got ", opts.Quiet)
- }
- if opts.InMemory != 0 {
- t.Error("Expected opts InMemory to equal 1, got ", opts.InMemory)
- }
- if opts.RewriteNotesRef != "" {
- t.Error("Expected opts RewriteNotesRef to equal 1, got ", opts.RewriteNotesRef)
- }
-
- copts := opts.toC()
- if copts == nil {
- t.Error("Copts should not be nil")
- }
-}
-
func TestRebaseAbort(t *testing.T) {
// TEST DATA