Go through all tests

This commit is contained in:
Adrian Brink 2018-02-26 11:59:48 +01:00
parent 0e0b6ae504
commit d79473d1ab
No known key found for this signature in database
GPG Key ID: F61053D3FBD06353
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@ func TestMountStores(t *testing.T) {
err = app.LoadLatestVersion(capKey2)
assert.Nil(t, err)
}
// Test that we can make commits and then reload old versions.
// Test that LoadLatestVersion actually does.
func TestLoadVersion(t *testing.T) {
@ -71,6 +72,7 @@ func TestInfo(t *testing.T) {
// should be empty
assert.Equal(t, "", res.Version)
assert.Equal(t, t.Name(), res.GetData())
assert.Equal(t, int64(0), res.LastBlockHeight)
assert.Equal(t, []uint8(nil), res.LastBlockAppHash)

View File

@ -122,7 +122,6 @@ func TestOutputValidation(t *testing.T) {
}
func TestSendMsgValidation(t *testing.T) {
addr1 := crypto.Address([]byte{1, 2})
addr2 := crypto.Address([]byte{7, 8})
atom123 := sdk.Coins{{"atom", 123}}