Skip to content

Commit

Permalink
test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed May 2, 2019
1 parent 294c79a commit fe143ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestMoneroWalletCommon.js
Expand Up @@ -2391,8 +2391,8 @@ function testAccount(account) {
balance = balance.add(account.getSubaddresses()[i].getBalance());
unlockedBalance = unlockedBalance.add(account.getSubaddresses()[i].getUnlockedBalance());
}
assert(account.getBalance().compare(balance) === 0, "Subaddress balances " + balance + " does not equal account " + account.getIndex() + " balance " + account.getBalance());
assert(account.getUnlockedBalance().compare(unlockedBalance) === 0, "Subaddress unlocked balances " + unlockedBalance + " does not equal account " + account.getIndex() + " unlocked balance " + account.getUnlockedBalance());
assert(account.getBalance().compare(balance) === 0, "Subaddress balances " + balance.toString() + " does not equal account " + account.getIndex() + " balance " + account.getBalance().toString());
assert(account.getUnlockedBalance().compare(unlockedBalance) === 0, "Subaddress unlocked balances " + unlockedBalance.toString() + " does not equal account " + account.getIndex() + " unlocked balance " + account.getUnlockedBalance().toString());
}
}

Expand Down

0 comments on commit fe143ca

Please sign in to comment.