aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJakob Schnitzer2017-03-14 21:19:04 -0300
committerJakob Schnitzer2017-03-14 21:20:43 -0300
commit83ee9691e8e0e847af357d29b797c2773ed63b23 (patch)
treeed86a0ff517c69c44586e251b46c17ba9e4a3406 /test
parent4f8d20a857be6dbc201a416b7bc8708096f79384 (diff)
downloadvim-beancount-83ee9691e8e0e847af357d29b797c2773ed63b23.tar.gz
more align tests
Diffstat (limited to '')
-rw-r--r--test/align.vader12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/align.vader b/test/align.vader
index 1bdc5f0..76496fc 100644
--- a/test/align.vader
+++ b/test/align.vader
@@ -1,7 +1,11 @@
Given beancount:
+ 2012-12-12 balance Assets:LongLongLongAccount 50.00
+ 2012-12-12 balance Assets:Cash 50.00
+ 2012-12-12 price EUR 50.00 USD
metadata: 50
Assets:Cash 50
Assets:Cash 50.00
+ ! Assets:Cash 50.00
Assets:Cash 50.00
Assets:Cash 50.00 USD
@@ -9,9 +13,13 @@ Execute (align):
%AlignCommodity
Expect beancount:
+ 2012-12-12 balance Assets:LongLongLongAccount 50.00
+ 2012-12-12 balance Assets:Cash 50.00
+ 2012-12-12 price EUR 50.00 USD
metadata: 50
Assets:Cash 50
Assets:Cash 50.00
+ ! Assets:Cash 50.00
Assets:Cash 50.00
Assets:Cash 50.00 USD
@@ -20,8 +28,12 @@ Execute (change alignment column and align again):
%AlignCommodity
Expect beancount:
+ 2012-12-12 balance Assets:LongLongLongAccount 50.00
+ 2012-12-12 balance Assets:Cash 50.00
+ 2012-12-12 price EUR 50.00 USD
metadata: 50
Assets:Cash 50
Assets:Cash 50.00
+ ! Assets:Cash 50.00
Assets:Cash 50.00
Assets:Cash 50.00 USD