Skip to content

Commit

Permalink
fixed cli_test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnya97 committed Jul 27, 2018
1 parent 2631004 commit 45f98cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/gaia/cli_test/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,14 @@ func TestGaiaCLISubmitProposal(t *testing.T) {
spStr += fmt.Sprintf(" --from=%s", "foo")
spStr += fmt.Sprintf(" --deposit=%s", "5steak")
spStr += fmt.Sprintf(" --type=%s", "Text")
spStr += fmt.Sprintf(" --title=%s", "Test 2")
spStr += fmt.Sprintf(" --title=%s", "Apples")
spStr += fmt.Sprintf(" --description=%s", "test")

executeWrite(t, spStr, pass)
tests.WaitForNextNBlocksTM(2, port)

proposalsQuery = tests.ExecuteT(t, fmt.Sprintf("gaiacli gov query-proposals --latest=1 %v", flags))
require.Equal(t, " 2 - Test 2", proposalsQuery)
require.Equal(t, " 2 - Apples", proposalsQuery)
}

//___________________________________________________________________________________
Expand Down

0 comments on commit 45f98cd

Please sign in to comment.