summaryrefslogtreecommitdiff
path: root/test/regress/1384C1D8.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-17 07:02:03 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-17 07:02:03 -0500
commitbc31e4838bae16748352901634d264af9b045369 (patch)
treee319e90204eecc02dd788a0112dd9541d393cc0e /test/regress/1384C1D8.test
parent2aa37bca36ffc04a48317aaaecf347d20682e44d (diff)
downloadfork-ledger-bc31e4838bae16748352901634d264af9b045369.tar.gz
fork-ledger-bc31e4838bae16748352901634d264af9b045369.tar.bz2
fork-ledger-bc31e4838bae16748352901634d264af9b045369.zip
Fixed #711: Parsing of alias directive
Diffstat (limited to 'test/regress/1384C1D8.test')
-rw-r--r--test/regress/1384C1D8.test27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/regress/1384C1D8.test b/test/regress/1384C1D8.test
new file mode 100644
index 00000000..77a07b7a
--- /dev/null
+++ b/test/regress/1384C1D8.test
@@ -0,0 +1,27 @@
+@alias OLD1 = NEW1
+
+2012-01-01 Something
+ OLD1 $10.00
+ Other
+
+!alias OLD2 = NEW2
+
+2012-01-01 Something
+ OLD2 $10.00
+ Other
+
+account NEW3
+ alias OLD3
+
+2012-01-01 Something
+ OLD3 $10.00
+ Other
+
+test bal
+ $10.00 NEW1
+ $10.00 NEW2
+ $10.00 NEW3
+ $-30.00 Other
+--------------------
+ 0
+end test