Skip to content

Commit

Permalink
adjust test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaiaroto committed Oct 5, 2016
1 parent 907329e commit 2e70c75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ func TestSetOptsFromArgs(t *testing.T) {
Convey("A CfgName and Key option should be set", func() {
setOptsFromArgs([]string{"testCfg", "some key"})
So(Options.CfgName, ShouldEqual, "testCfg")
So(string(Options.Value), ShouldEqual, "some key")
So(string(Options.Key), ShouldEqual, "some key")
So(string(Options.Value), ShouldEqual, "")
})
})

Expand Down

0 comments on commit 2e70c75

Please sign in to comment.