From 33dc68535de39166c92f80c0ffee03ca0424b34e Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Fri, 15 Apr 2016 09:42:20 -0700 Subject: Add leading zero to account balances --- ui/test/unit/util_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/test') diff --git a/ui/test/unit/util_test.js b/ui/test/unit/util_test.js index 7e34bba1c..b35d60812 100644 --- a/ui/test/unit/util_test.js +++ b/ui/test/unit/util_test.js @@ -71,7 +71,7 @@ describe('util', function() { it('should return eth as string followed by ETH', function() { var input = new ethUtil.BN(ethInWei, 10).div(new ethUtil.BN('2', 10)).toJSON() var result = util.formatBalance(input) - assert.equal(result, '.5000 ETH') + assert.equal(result, '0.5000 ETH') }) it('should display four decimal points', function() { -- cgit v1.2.3