diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-06 03:18:10 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-06 03:24:06 -0600 |
commit | 97d68ebc8cf2bf88feffaedd6873934dc785c411 (patch) | |
tree | b19e73eb8860dda1bbf8358141ddf1afc2060b50 /test/baseline/dir-commodity-value.test | |
parent | eb3591f898e194be0cb6c15107e8e41e9dd67206 (diff) | |
download | fork-ledger-97d68ebc8cf2bf88feffaedd6873934dc785c411.tar.gz fork-ledger-97d68ebc8cf2bf88feffaedd6873934dc785c411.tar.bz2 fork-ledger-97d68ebc8cf2bf88feffaedd6873934dc785c411.zip |
Added "value" sub-directive for commodity directive
Diffstat (limited to 'test/baseline/dir-commodity-value.test')
-rw-r--r-- | test/baseline/dir-commodity-value.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/baseline/dir-commodity-value.test b/test/baseline/dir-commodity-value.test new file mode 100644 index 00000000..5e8fe789 --- /dev/null +++ b/test/baseline/dir-commodity-value.test @@ -0,0 +1,24 @@ +commodity $ + value 10 EUR + +commodity USD + alias FOO + value 25 EUR + +2012-03-06 KFC + Expenses:Food $20.00 + Assets:Cash + +2012-03-08 KFC + Expenses:Food USD 750,00 + Assets:Cash + +2012-03-10 KFC + Expenses:Food USD 750,00 + Assets:Cash + +test reg food -X EUR --now=2012-03-15 +12-Mar-06 KFC Expenses:Food 200 EUR 200 EUR +12-Mar-08 KFC Expenses:Food 18750 EUR 18950 EUR +12-Mar-10 KFC Expenses:Food 18750 EUR 37700 EUR +end test |