From 344c421a3b08c543b1cfe7d0c947cf589f547990 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 7 Sep 2021 09:47:31 -1000 Subject: [PATCH] test: update shelltest format --- hledger/test/journal/directives.test | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/hledger/test/journal/directives.test b/hledger/test/journal/directives.test index eacf06d72..334c005fb 100644 --- a/hledger/test/journal/directives.test +++ b/hledger/test/journal/directives.test @@ -1,6 +1,5 @@ # apply account, end apply account directives -hledger -f - accounts -<<< +< apply account a 2016/1/1 (b) 1 @@ -11,26 +10,22 @@ apply account aa end apply account 2016/1/2 (c) 1 ->>> + +$ hledger -f - accounts a:b aa:b c ->>>=0 # commodity directive -hledger -f - reg -<<< +< commodity BTC ->>> ->>>2 ->>>=0 +$ hledger -f - reg # commodity directive with subdirective -hledger -f - reg -<<< +< commodity BTC note Bitcoin ->>> ->>>2 /expecting "format"/ ->>>=1 +$ hledger -f - reg +>2 /expecting "format"/ +>=1