summaryrefslogtreecommitdiff
path: root/test/baseline/opt-strict.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-strict.test')
-rw-r--r--test/baseline/opt-strict.test23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/baseline/opt-strict.test b/test/baseline/opt-strict.test
new file mode 100644
index 00000000..1917d946
--- /dev/null
+++ b/test/baseline/opt-strict.test
@@ -0,0 +1,23 @@
+reg --strict
+<<<
+2007/02/02 * Foo
+ Expenses:Food $10.00
+ Assets:Cash
+
+2007/02/03 Bar
+ * Expenses:Food $20.00
+ Assets:Cash
+
+2007/02/02 Baz
+ Expenses:Foodx $30.00
+ Assets:Cash
+>>>1
+07-Feb-02 Foo Expenses:Food $10.00 $10.00
+ Assets:Cash $-10.00 0
+07-Feb-02 Baz Expenses:Foodx $30.00 $30.00
+ Assets:Cash $-30.00 0
+07-Feb-03 Bar Expenses:Food $20.00 $20.00
+ Assets:Cash $-20.00 0
+>>>2
+Warning: "$FILE", line 10: Unknown account 'Expenses:Foodx'
+=== 0