diff options
author | John Wiegley <johnw@newartisans.com> | 2014-02-16 23:01:19 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-02-16 23:01:19 -0600 |
commit | fea32e94a6dfcb1a5021a8ec76b4d6ed9a959fec (patch) | |
tree | 022bb36faa7c03db0b47d3969418e1f0f4f99ff2 /test/regress | |
parent | c59aadaace0b142eacb89d40921ac331887bb671 (diff) | |
parent | e7cfaa1e652ac989ac33bda824b53dee401c10b3 (diff) | |
download | fork-ledger-fea32e94a6dfcb1a5021a8ec76b4d6ed9a959fec.tar.gz fork-ledger-fea32e94a6dfcb1a5021a8ec76b4d6ed9a959fec.tar.bz2 fork-ledger-fea32e94a6dfcb1a5021a8ec76b4d6ed9a959fec.zip |
Merge pull request #242 from afh/pull/year
Fix apply_year_directive
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/6E7C2DF9.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/6E7C2DF9.test b/test/regress/6E7C2DF9.test new file mode 100644 index 00000000..c55fbdcc --- /dev/null +++ b/test/regress/6E7C2DF9.test @@ -0,0 +1,24 @@ +Y 2010 +10/10 * TwentyTen + Account:Ten $ 10.10 + Assets:Cash + +apply year 2011 +11/11 * TwentyEleven + Account:Eleven $ 11.11 + Assets:Cash + +2012/12/12 * TwentyTwelve + Account:Twelve $ 12.12 + Assets:Cash + +11/11 * TwentyEleven Again + Account:Eleven $ 11.11 + Assets:Cash + +test reg --sort date account +10-Oct-10 TwentyTen Account:Ten $ 10.10 $ 10.10 +11-Nov-11 TwentyEleven Account:Eleven $ 11.11 $ 21.21 +11-Nov-11 TwentyEleven Again Account:Eleven $ 11.11 $ 32.32 +12-Dec-12 TwentyTwelve Account:Twelve $ 12.12 $ 44.44 +end test |