summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCandyAngel <candyangel@electricjungle.org>2019-08-27 21:19:05 +0100
committerCandyAngel <candyangel@electricjungle.org>2019-08-27 21:19:05 +0100
commitcdd6b7c0ac10a15b8f8853b7610ae58037c261aa (patch)
treeed39cc19e0645f53eafef88897349aa9de299874 /test
parent0848f2b75d2800821f86e4e6eeabab86710906ff (diff)
downloadfork-ledger-cdd6b7c0ac10a15b8f8853b7610ae58037c261aa.tar.gz
fork-ledger-cdd6b7c0ac10a15b8f8853b7610ae58037c261aa.tar.bz2
fork-ledger-cdd6b7c0ac10a15b8f8853b7610ae58037c261aa.zip
Remove know-ification of elements due to post state
Diffstat (limited to 'test')
-rw-r--r--test/baseline/opt-pedantic.test8
-rw-r--r--test/baseline/opt-strict.test8
2 files changed, 14 insertions, 2 deletions
diff --git a/test/baseline/opt-pedantic.test b/test/baseline/opt-pedantic.test
index aca15410..38478445 100644
--- a/test/baseline/opt-pedantic.test
+++ b/test/baseline/opt-pedantic.test
@@ -6,12 +6,16 @@
Expenses:Phone 20.00 GBP
Assets:Cash
-test bal --pedantic -> 1
+test bal --pedantic -> 2
__ERROR__
While parsing file "$FILE", line 2:
While parsing posting:
Expenses:Phone 20.00 GBP
Error: Unknown account 'Expenses:Phone'
-end test
+While parsing file "$FILE", line 6:
+While parsing posting:
+ Expenses:Phone 20.00 GBP
+Error: Unknown account 'Expenses:Phone'
+end test
diff --git a/test/baseline/opt-strict.test b/test/baseline/opt-strict.test
index fea46b23..2325925a 100644
--- a/test/baseline/opt-strict.test
+++ b/test/baseline/opt-strict.test
@@ -18,5 +18,13 @@ test reg --strict
07-Feb-02 Baz Expenses:Foodx $30.00 $30.00
Assets:Cash $-30.00 0
__ERROR__
+Warning: "$FILE", line 2: Unknown account 'Expenses:Food'
+Warning: "$FILE", line 2: Unknown commodity '$'
+Warning: "$FILE", line 3: Unknown account 'Assets:Cash'
+Warning: "$FILE", line 6: Unknown account 'Expenses:Food'
+Warning: "$FILE", line 6: Unknown commodity '$'
+Warning: "$FILE", line 7: Unknown account 'Assets:Cash'
Warning: "$FILE", line 10: Unknown account 'Expenses:Foodx'
+Warning: "$FILE", line 10: Unknown commodity '$'
+Warning: "$FILE", line 11: Unknown account 'Assets:Cash'
end test