Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch committed Jul 28, 2015
1 parent 4e1cadc commit f3d0a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cbft/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ func TestMainStart(t *testing.T) {
if err != nil {
t.Fatalf("unexpected error: %v", err)
}
router, err := MainStart(nil, cbgt.NewUUID(), nil, "", 1, ":1000",
router, err := MainStart(nil, cbgt.NewUUID(), nil, "", 1, "", ":1000",
"bad data dir", "./static", "etag", "", "", mr)
if router != nil || err == nil {
t.Errorf("expected empty server string to fail mainStart()")
}

router, err = MainStart(nil, cbgt.NewUUID(), nil, "", 1, ":1000",
router, err = MainStart(nil, cbgt.NewUUID(), nil, "", 1, "", ":1000",
"bad data dir", "./static", "etag", "bad server", "", mr)
if router != nil || err == nil {
t.Errorf("expected bad server string to fail mainStart()")
Expand Down

0 comments on commit f3d0a46

Please sign in to comment.