aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/align.vader45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/align.vader b/test/align.vader
deleted file mode 100644
index db6563e..0000000
--- a/test/align.vader
+++ /dev/null
@@ -1,45 +0,0 @@
-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
- Assets:Cash 50.00
- ! Assets:Cash 50.00
- Assets:Cash 50.00
- Assets:Cash 50.00 USD
-
-Execute (align):
- %AlignCommodity
-
-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
- Assets:Cash 50.00
- ! Assets:Cash 50.00
- Assets:Cash 50.00
- Assets:Cash 50.00 USD
-
-Execute (change alignment column and align again):
- let g:beancount_separator_col=40
- %AlignCommodity
-
-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
- Assets:Cash 50.00
- ! Assets:Cash 50.00
- Assets:Cash 50.00
- Assets:Cash 50.00 USD