Permalink
Browse files

cmd: adjusted test due to changed handling of the command line parame…

…ters help function.
  • Loading branch information...
cbrand committed Oct 25, 2015
1 parent 2f79563 commit 0384d2bddcefc0f01c488cd7dcd60bd2dac1a1c8
Showing with 3 additions and 1 deletion.
  1. +3 −1 cmd/lara/main_test.go
View
@@ -1,6 +1,7 @@
package main
import (
"fmt"
"strings"
. "gopkg.in/check.v1"
@@ -35,7 +36,8 @@ func (t *MainTests) TestPromptTwice(c *C) {
func (t *MainTests) TestArgHandling(c *C) {
c.Assert(t.d.run([]string{"help", "sync"}), Equals, 0)
c.Assert(strings.Index(t.out.String(), "command sync"), Not(Equals), -1)
fmt.Println(t.out.String())
c.Assert(strings.Index(t.out.String(), "sync"), Not(Equals), -1)
}
func (t *MainTests) TestNoArg(c *C) {

0 comments on commit 0384d2b

Please sign in to comment.