summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-18 01:08:44 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-05-18 01:08:44 -0600
commit3c3bda19d62eed165b9191dbf1adcb3e7c975356 (patch)
tree50fc76c603b9c86a0e2440e6cde9c816922cc392 /test
parent0a244f6d960cc3a340d12296d8d84bb77f8dae8d (diff)
downloadfork-ledger-3c3bda19d62eed165b9191dbf1adcb3e7c975356.tar.gz
fork-ledger-3c3bda19d62eed165b9191dbf1adcb3e7c975356.tar.bz2
fork-ledger-3c3bda19d62eed165b9191dbf1adcb3e7c975356.zip
Fixed a test that was unknowingly time-based
Diffstat (limited to 'test')
-rw-r--r--test/baseline/opt-historical.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/baseline/opt-historical.test b/test/baseline/opt-historical.test
index 9eb3558b..820f5ff0 100644
--- a/test/baseline/opt-historical.test
+++ b/test/baseline/opt-historical.test
@@ -65,7 +65,7 @@ test reg stocks -I
12-May-05 Broker Assets:Stocks $50 $150
end test
-test reg stocks -V
+test reg stocks -V --now=2012/05/10
12-Jan-01 Broker Assets:Stocks $100 $100
12-Jan-15 Commodities revalued <Revalued> $50 $150
12-Feb-02 Commodities revalued <Revalued> $50 $200
@@ -81,7 +81,7 @@ test reg stocks -V
12-May-05 Broker Assets:Stocks $500 $2500
end test
-test reg stocks -O -V
+test reg stocks -O -V --now=2012/05/10
12-Jan-01 Broker Assets:Stocks $100 $100
12-Jan-15 Commodities revalued <Revalued> $50 $150
12-Feb-02 Commodities revalued <Revalued> $50 $200
@@ -113,7 +113,7 @@ test reg stocks -I -V
12-May-05 Broker Assets:Stocks $50 $150
end test
-test reg stocks -X EUR
+test reg stocks -X EUR --now=2012/05/10
12-Jan-01 Broker Assets:Stocks EUR 200,00 EUR 200,00
12-Feb-02 Commodities revalued <Revalued> EUR 200,00 EUR 400,00
12-Feb-02 Broker Assets:Stocks EUR 400,00 EUR 800,00
@@ -125,7 +125,7 @@ test reg stocks -X EUR
12-May-05 Broker Assets:Stocks EUR 1.000,00 EUR 5.000,00
end test
-test reg stocks -O -X EUR
+test reg stocks -O -X EUR --now=2012/05/10
12-Jan-01 Broker Assets:Stocks EUR 200,00 EUR 200,00
12-Feb-02 Commodities revalued <Revalued> EUR 200,00 EUR 400,00
12-Feb-02 Broker Assets:Stocks EUR 400,00 EUR 800,00