summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-cleared.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
commit64a9b42381c26baf24e58b40f50f0b253e551811 (patch)
tree5447a29dff64c3a8b7be8100a01bcb4a2d73b0bb /test/baseline/cmd-cleared.test
parent7cc550fc22357e2ded194d3e65287c6b3317f5ae (diff)
parentb4407c10c0071365322b2963747bf42a57fd7304 (diff)
downloadfork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.gz
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.bz2
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.zip
Merge branch 'release/v3.0.0-20120426'
Diffstat (limited to 'test/baseline/cmd-cleared.test')
-rw-r--r--test/baseline/cmd-cleared.test36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/baseline/cmd-cleared.test b/test/baseline/cmd-cleared.test
new file mode 100644
index 00000000..501d207f
--- /dev/null
+++ b/test/baseline/cmd-cleared.test
@@ -0,0 +1,36 @@
+2012-02-23 * Test 1
+ A 10.00
+ B
+
+2012-02-24 Test 1
+ C 15.00
+ D
+
+; leave E/F uncleared
+2012-02-25 Test 1
+ E 20.00
+ F
+
+; have a cleared posting last for C
+2012-02-26 * Test 1
+ C 30.00
+ G
+
+; have an uncleared posting last for A
+2012-02-27 Test 1
+ A 40.00
+ H
+
+test cleared
+ 50 10 12-Feb-23 A
+ -10 -10 12-Feb-23 B
+ 45 30 12-Feb-26 C
+ -15 0 D
+ 20 0 E
+ -20 0 F
+ -30 -30 12-Feb-26 G
+ -40 0 H
+---------------- ---------------- ---------
+ 0 0
+end test
+