Skip to content

Commit

Permalink
Go through all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Brink committed Feb 26, 2018
1 parent 0e0b6ae commit d79473d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions baseapp/baseapp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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)

Expand Down
1 change: 0 additions & 1 deletion x/bank/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit d79473d

Please sign in to comment.