types: add UnmarshalJSON funcs for Response types

This commit is contained in:
Ethan Buchman
2017-12-06 03:15:38 -05:00
parent 12dca48768
commit 47216538fd
3 changed files with 56 additions and 13 deletions

View File

@@ -311,9 +311,7 @@ func or(err1 error, err2 error) error {
func cmdTest(cmd *cobra.Command, args []string) error {
fmt.Println("Running tests")
var err error
err = servertest.InitChain(client)
err := servertest.InitChain(client)
fmt.Println("")
err = or(err, servertest.SetOption(client, "serial", "on"))
fmt.Println("")