aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorZhuoyun Wei2017-09-12 22:55:43 +0800
committerZhuoyun Wei2017-09-12 22:55:43 +0800
commit7db0d219e1bb2b1063a982b5cf6917502127c121 (patch)
tree2363dd411b029bfb0a9fdea69577cfb48c99b68f /test
parent914ae985fb05c4c7f6d8e652bbc53a2de12542df (diff)
downloadvim-beancount-7db0d219e1bb2b1063a982b5cf6917502127c121.tar.gz
test: AlignCommodity with -/+ signs
Diffstat (limited to 'test')
-rw-r--r--test/align.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/align.vader b/test/align.vader
index 76496fc..db6563e 100644
--- a/test/align.vader
+++ b/test/align.vader
@@ -1,6 +1,8 @@
Given beancount:
2012-12-12 balance Assets:LongLongLongAccount 50.00
2012-12-12 balance Assets:Cash 50.00
+ 2012-12-12 balance Assets:Cash -50.00
+ 2012-12-12 balance Assets:Cash +50.00
2012-12-12 price EUR 50.00 USD
metadata: 50
Assets:Cash 50
@@ -15,6 +17,8 @@ Execute (align):
Expect beancount:
2012-12-12 balance Assets:LongLongLongAccount 50.00
2012-12-12 balance Assets:Cash 50.00
+ 2012-12-12 balance Assets:Cash -50.00
+ 2012-12-12 balance Assets:Cash +50.00
2012-12-12 price EUR 50.00 USD
metadata: 50
Assets:Cash 50
@@ -30,6 +34,8 @@ Execute (change alignment column and align again):
Expect beancount:
2012-12-12 balance Assets:LongLongLongAccount 50.00
2012-12-12 balance Assets:Cash 50.00
+ 2012-12-12 balance Assets:Cash -50.00
+ 2012-12-12 balance Assets:Cash +50.00
2012-12-12 price EUR 50.00 USD
metadata: 50
Assets:Cash 50