test: update shelltest format

This commit is contained in:
Simon Michael 2021-09-07 09:47:31 -10:00
parent 555a68faa5
commit 344c421a3b

View File

@ -1,6 +1,5 @@
# apply account, end apply account directives # apply account, end apply account directives
hledger -f - accounts <
<<<
apply account a apply account a
2016/1/1 2016/1/1
(b) 1 (b) 1
@ -11,26 +10,22 @@ apply account aa
end apply account end apply account
2016/1/2 2016/1/2
(c) 1 (c) 1
>>>
$ hledger -f - accounts
a:b a:b
aa:b aa:b
c c
>>>=0
# commodity directive # commodity directive
hledger -f - reg <
<<<
commodity BTC commodity BTC
>>> $ hledger -f - reg
>>>2
>>>=0
# commodity directive with subdirective # commodity directive with subdirective
hledger -f - reg <
<<<
commodity BTC commodity BTC
note Bitcoin note Bitcoin
>>> $ hledger -f - reg
>>>2 /expecting "format"/ >2 /expecting "format"/
>>>=1 >=1