Skip to content

Commit

Permalink
[sky] refs #279 - Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
olemis committed Jan 23, 2020
1 parent 64d0bc7 commit a991a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coin/skycoin/models/blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ func TestSkycoinBlockchainStatusGetNumberOfBlocks(t *testing.T) {

// api interaction error
block := new(SkycoinBlockchain)
val, err := block.GetNumberOfBlocks()
_, err := block.GetNumberOfBlocks()
require.Error(t, err)

block = &SkycoinBlockchain{CacheTime: 20}
val, err = block.GetNumberOfBlocks()
val, err := block.GetNumberOfBlocks()
require.NoError(t, err)
require.Equal(t, val, uint64(20))
}
Expand Down

0 comments on commit a991a70

Please sign in to comment.