summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-05-30 20:49:50 -0600
committerJohn Wiegley <johnw@newartisans.com>2010-05-30 20:49:50 -0600
commit5a2644c1b7220dc96e4de9cfb82f6d829cf34321 (patch)
treea865c62dd006ea595442b8ab2379d8a3cbf4d526 /test
parent58621a96a22de5c1453b7fac624e00dc7f3c402e (diff)
downloadfork-ledger-5a2644c1b7220dc96e4de9cfb82f6d829cf34321.tar.gz
fork-ledger-5a2644c1b7220dc96e4de9cfb82f6d829cf34321.tar.bz2
fork-ledger-5a2644c1b7220dc96e4de9cfb82f6d829cf34321.zip
-V/-X options now take price history into account
Diffstat (limited to 'test')
-rw-r--r--test/baseline/opt-price.test3
-rw-r--r--test/regress/D943AE0F.test4
2 files changed, 4 insertions, 3 deletions
diff --git a/test/baseline/opt-price.test b/test/baseline/opt-price.test
index 06cc7751..bf302264 100644
--- a/test/baseline/opt-price.test
+++ b/test/baseline/opt-price.test
@@ -28,7 +28,8 @@ reg --end 2009/06/26 -V equities
08-Jan-01 Purchase Apple shares Equities $2000 $2000
08-Jun-30 Commodities revalued <Revalued> $500 $2500
08-Jun-30 Sell some Apple sha.. Equities $-1250 $1250
-09-Jun-26 Commodities revalued <Revalued> $750 $2000
+09-Jan-31 Commodities revalued <Revalued> $250 $1500
+09-Jun-26 Commodities revalued <Revalued> $500 $2000
>>>2
=== 0
reg --end 2009/06/26 -G equities
diff --git a/test/regress/D943AE0F.test b/test/regress/D943AE0F.test
index 94a26df5..7a2e14d8 100644
--- a/test/regress/D943AE0F.test
+++ b/test/regress/D943AE0F.test
@@ -1,4 +1,4 @@
-reg -V --end=2009/06/16
+reg -V
<<<
D 1000.00 EUR
@@ -10,6 +10,6 @@ P 2008/04/20 00:00:00 CAD 1.20 EUR
>>>1
08-Apr-15 Paid expenses back .. Ex:Cie-Reimbursements 2200.00 EUR 2200.00 EUR
Assets:Checking -2200.00 EUR 0
-09-Jun-16 Commodities revalued <Revalued> 200.00 EUR 200.00 EUR
+08-Apr-20 Commodities revalued <Revalued> 200.00 EUR 200.00 EUR
>>>2
=== 0