CommitSync() returns tmsp.Result

This commit is contained in:
Jae Kwon
2016-03-23 02:49:30 -07:00
parent de6f76758d
commit 8183e3201b
5 changed files with 21 additions and 21 deletions

View File

@ -75,9 +75,9 @@ func TestSerialReap(t *testing.T) {
res.Code, res.Data, res.Log)
}
}
hash, log := appConnCon.Commit()
if len(hash) != 8 {
t.Errorf("Error committing. Hash:%X log:%v", hash, log)
res := appConnCon.Commit()
if len(res.Data) != 8 {
t.Errorf("Error committing. Hash:%X log:%v", res.Data, res.Log)
}
}