From c86b968cac6b0dd92b5043c2deda9c556b225d5f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 19 Apr 2011 21:32:13 +0000 Subject: [PATCH] update eliding-balance tests for latest shelltestrunner, drop an obscure test --- tests/eliding-balance.test | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/tests/eliding-balance.test b/tests/eliding-balance.test index 84a1c64c8..0d80f6c00 100644 --- a/tests/eliding-balance.test +++ b/tests/eliding-balance.test @@ -1,15 +1,4 @@ -# -bin/hledger -f - balance -<<< -2009/1/1 x - aaaaaaaaaaaaaaaaaaaa:aaaaaaaaaaaaaaaaaaaa:aaaaaaaaaaaaaaaaaaaa €1 - b ->>> - €1 aaaaaaaaaaaaaaaaaaaa:aaaaaaaaaaaaaaaaaaaa:aaaaaaaaaaaaaaaaaaaa - €-1 b --------------------- - €0 -# One commodity. Balance should be elided +# 1. One commodity. Zero accounts should be elided but the final total should not. bin/hledger -f - balance <<< 2010/04/01 tr1 @@ -22,7 +11,9 @@ bin/hledger -f - balance >>> -------------------- 0 -# Two commodities. Balance should also be elided +>>>=0 + +# 2. Two commodities. As above, and the final total should be a single commodityless zero. bin/hledger -f - balance <<< 2010/04/01 tr1 @@ -35,3 +26,5 @@ bin/hledger -f - balance >>> -------------------- 0 +>>>=0 +