summaryrefslogtreecommitdiff
path: root/test/regress/2E3496BD.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 14:40:33 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 15:41:49 -0400
commit40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e (patch)
tree1acf02e4fffb46649e06d537451fe26ee988916e /test/regress/2E3496BD.test
parent42f94d2b8bcbc58abd5e09c0c1e98b8dd167552b (diff)
downloadfork-ledger-40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e.tar.gz
fork-ledger-40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e.tar.bz2
fork-ledger-40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e.zip
Added several new regression tests
Diffstat (limited to 'test/regress/2E3496BD.test')
-rw-r--r--test/regress/2E3496BD.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/regress/2E3496BD.test b/test/regress/2E3496BD.test
new file mode 100644
index 00000000..9458c21e
--- /dev/null
+++ b/test/regress/2E3496BD.test
@@ -0,0 +1,18 @@
+bal --args-only
+<<<
+D 1,000.00 USD
+
+2007-12-31 * Start of year / Opening balances.
+ Account1 1000 EUR @ 1.6 USD
+ Account2 -1000 EUR @ 1.5 USD
+>>>1
+>>>2
+While parsing file "bug.dat", line 8:
+While balancing entry from "bug.dat", lines 6-8:
+> 2007-12-31 * Start of year / Opening balances.
+> Account1 1000 EUR @ 1.6 USD
+> Account2 -1000 EUR @ 1.5 USD
+Unbalanced remainder is:
+ 100.00 USD
+Error: Entry does not balance
+=== 1