From f47a617dcc30c29a09f2ecc461ff75685aac9f8f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 15 Aug 2018 10:32:10 +0100 Subject: [PATCH] journal: commented test for D and auto postings (#860) [ci skip] --- tests/journal/default-commodity.test | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tests/journal/default-commodity.test b/tests/journal/default-commodity.test index 77456dc0d..9c400f149 100644 --- a/tests/journal/default-commodity.test +++ b/tests/journal/default-commodity.test @@ -72,3 +72,29 @@ D $1,000.0 >>>=0 +# 6. A default commodity should not disrupt automated posting amounts. +#hledger -f- print --auto +#<<< +#commodity 1,000.00 EUR +# +#D 1,000.00 EUR +# +#alias /Assets:Depot:([^:]+):(.*)/ = Assets:Depot:\1 +# +#= ^Assets:Depot +# [Assets:Depot] *-1 +# [Assets:Savings] *1 +# +#2018/01/01 * Buying Shares +# Assets:Depot:LyxorACWI:20180101 0.43346 LyxorACWI @@ 100.00 EUR +# Assets:Checking +# +#>>> +#2018/01/01 * Buying Shares +# Assets:Depot:LyxorACWI 0.43346 LyxorACWI @@ 100.00 EUR +# [Assets:Depot] -0.43346 LyxorACWI @@ 100.00 EUR +# [Assets:Savings] 0.43346 LyxorACWI @@ 100.00 EUR +# Assets:Checking +# +#>>>= +