summaryrefslogtreecommitdiff
path: root/test/baseline/opt-strict.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-23 17:40:40 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-23 17:40:40 -0400
commit310e339464d972bba9a66caa55f6409248a0f419 (patch)
treef22da6829d5f5cbaa452af6b2add3c1d4c359d6a /test/baseline/opt-strict.test
parenta0a014b334301323f92397b18221950ae479d1c1 (diff)
downloadfork-ledger-310e339464d972bba9a66caa55f6409248a0f419.tar.gz
fork-ledger-310e339464d972bba9a66caa55f6409248a0f419.tar.bz2
fork-ledger-310e339464d972bba9a66caa55f6409248a0f419.zip
Added several more option baseline tests
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..a0e593b2
--- /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-03 Bar Expenses:Food $20.00 $20.00
+ Assets:Cash $-20.00 0
+07-Feb-02 Baz Expenses:Foodx $30.00 $30.00
+ Assets:Cash $-30.00 0
+>>>2
+Warning: "$FILE", line 10: Unknown account 'Expenses:Foodx'
+=== 0