summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/cmd-tags.test3
-rw-r--r--test/baseline/feat-balance_assert-off.test2
-rw-r--r--test/baseline/feat-balance_assert_split.test4
-rw-r--r--test/baseline/feat-value-expr.test2
-rw-r--r--test/baseline/opt-color.test8
-rw-r--r--test/baseline/opt-force-color.test19
-rw-r--r--test/baseline/opt-prepend-format.test5
-rw-r--r--test/baseline/opt-prepend-width.test5
8 files changed, 40 insertions, 8 deletions
diff --git a/test/baseline/cmd-tags.test b/test/baseline/cmd-tags.test
index bfff763a..926bdbfd 100644
--- a/test/baseline/cmd-tags.test
+++ b/test/baseline/cmd-tags.test
@@ -33,6 +33,7 @@ a
b
bar
foo
+xxx
end test
test tags --values
@@ -42,6 +43,7 @@ b
b: bbb
bar
foo
+xxx
end test
test tags --values --count
@@ -51,5 +53,6 @@ test tags --values --count
1 b: bbb
1 bar
1 foo
+2 xxx
end test
diff --git a/test/baseline/feat-balance_assert-off.test b/test/baseline/feat-balance_assert-off.test
index fed24d4a..d1da753e 100644
--- a/test/baseline/feat-balance_assert-off.test
+++ b/test/baseline/feat-balance_assert-off.test
@@ -13,6 +13,6 @@ While parsing file "$FILE", line 8:
While parsing posting:
Assets:Cash -$10 = $80
^^^
-Error: Balance assertion off by $-10 (expected to see $100)
+Error: Balance assertion off by $-10 (expected to see $90)
end test
diff --git a/test/baseline/feat-balance_assert_split.test b/test/baseline/feat-balance_assert_split.test
index 2d9cce9f..ad299325 100644
--- a/test/baseline/feat-balance_assert_split.test
+++ b/test/baseline/feat-balance_assert_split.test
@@ -14,7 +14,7 @@
2012-01-04 Test
; UUID: foo
- Liabilities:MasterCard $150.00 = $-300
+ Liabilities:MasterCard $150.00 = $-150
<Assets:Checking>
2012-01-04 Test
@@ -24,7 +24,7 @@
2012-01-04 Test
; UUID: baz
- Liabilities:MasterCard $150.00 = $0
+ Liabilities:MasterCard $150.00 = $150
<Assets:Checking>
;; b.dat
diff --git a/test/baseline/feat-value-expr.test b/test/baseline/feat-value-expr.test
index 01f9780b..885fd194 100644
--- a/test/baseline/feat-value-expr.test
+++ b/test/baseline/feat-value-expr.test
@@ -77,7 +77,7 @@ account Expenses:Food5
2012-03-07 KFC
Expenses:Food7 1 CAD
- Assets:Cas7
+ Assets:Cash7
2012-03-08 XACT
Expenses:Food8 $1
diff --git a/test/baseline/opt-color.test b/test/baseline/opt-color.test
index a7d702bd..a0abdffc 100644
--- a/test/baseline/opt-color.test
+++ b/test/baseline/opt-color.test
@@ -2,10 +2,10 @@
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
Income:Dividends:Vanguard:VMMXX $-0.35
-test bal --color --force-color
- 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
- $-0.35 Income:Dividends:Vanguard:VMMXX
+test bal --color
+ 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
+ $-0.35 Income:Dividends:Vanguard:VMMXX
--------------------
- $-0.35
+ $-0.35
0.350 VMMXX
end test
diff --git a/test/baseline/opt-force-color.test b/test/baseline/opt-force-color.test
new file mode 100644
index 00000000..536c3834
--- /dev/null
+++ b/test/baseline/opt-force-color.test
@@ -0,0 +1,19 @@
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+
+test bal --force-color
+ 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
+ $-0.35 Income:Dividends:Vanguard:VMMXX
+--------------------
+ $-0.35
+ 0.350 VMMXX
+end test
+
+test bal
+ 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
+ $-0.35 Income:Dividends:Vanguard:VMMXX
+--------------------
+ $-0.35
+ 0.350 VMMXX
+end test
diff --git a/test/baseline/opt-prepend-format.test b/test/baseline/opt-prepend-format.test
index 105930f1..de79d72e 100644
--- a/test/baseline/opt-prepend-format.test
+++ b/test/baseline/opt-prepend-format.test
@@ -15,3 +15,8 @@ VMMXX07-Feb-02 RD VMMXX As:Inves:Vanguar:VMMXX 0.350 VMMXX 0.350
VMMXX In:Divid:Vanguar:VMMXX $-0.35 $-0.35
0.350 VMMXX
end test
+
+test accounts --prepend-format "%(account_base) "
+VMMXX Assets:Investments:Vanguard:VMMXX
+VMMXX Income:Dividends:Vanguard:VMMXX
+end test
diff --git a/test/baseline/opt-prepend-width.test b/test/baseline/opt-prepend-width.test
index c20baeb4..0efd220f 100644
--- a/test/baseline/opt-prepend-width.test
+++ b/test/baseline/opt-prepend-width.test
@@ -15,3 +15,8 @@ test reg --prepend-format "%(account_base) " --prepend-width=10
VMMXX In:Divid:Vanguar:VMMXX $-0.35 $-0.35
0.350 VMMXX
end test
+
+test accounts --prepend-format "%(account_base) " --prepend-width=10
+ VMMXX Assets:Investments:Vanguard:VMMXX
+ VMMXX Income:Dividends:Vanguard:VMMXX
+end test