diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-02 21:38:13 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-02 21:38:13 -0400 |
commit | 31d6430c78abce55b40e64be0b99c7ea7f76df44 (patch) | |
tree | 56050e0ea582ca514b5003e48d5483ebcb36bdf7 | |
parent | 1c7de0f9e4d6372ab80a90f0ccd8ce7314466686 (diff) | |
download | fork-ledger-31d6430c78abce55b40e64be0b99c7ea7f76df44.tar.gz fork-ledger-31d6430c78abce55b40e64be0b99c7ea7f76df44.tar.bz2 fork-ledger-31d6430c78abce55b40e64be0b99c7ea7f76df44.zip |
Fixed another time-sensitive unit test
-rw-r--r-- | test/baseline/feature-fixated-prices.test | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/test/baseline/feature-fixated-prices.test b/test/baseline/feature-fixated-prices.test index 3b6c42dd..11330dea 100644 --- a/test/baseline/feature-fixated-prices.test +++ b/test/baseline/feature-fixated-prices.test @@ -1,18 +1,24 @@ reg -V gas <<< -2009/01/01 Payee +1990/01/01 Payee Expenses:Gas 100 GAL {=$2} Liabilities:MasterCard $-200 -2009/01/01 Payee +P 1990/01/15 12:00:00 GAL $3 + +1990/02/01 Payee Expenses:Gas 100 FOO {$2} Liabilities:MasterCard $-200 -P 2009/03/01 12:00:00 GAL $3 -P 2009/03/01 12:00:00 FOO $3 +P 1990/02/15 12:00:00 FOO $3 + +1990/02/20 Payee + Expenses:Gas 100 FOO + Liabilities:MasterCard >>>1 -09-Jan-01 Payee Expenses:Gas $200 $200 -09-Jan-01 Payee Expenses:Gas $200 $400 -09-Mar-02 Commodities revalued <Revalued> $100 $500 +90-Jan-01 Payee Expenses:Gas $200 $200 +90-Feb-01 Payee Expenses:Gas $200 $400 +90-Feb-20 Commodities revalued <Revalued> $100 $500 +90-Feb-20 Payee Expenses:Gas $300 $800 >>>2 === 0 |