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
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