From 642bdd1d99bbb331a004e98b3d69272b49f96a8c Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Sun, 18 May 2014 09:55:04 -0400 Subject: Add test case for: option --permissive now quiets balance assertions Add a test csae for the change "The option --permissive now quiets balance assertions" (634aa589) --- test/regress/634AA589.test | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/regress/634AA589.test (limited to 'test/regress/634AA589.test') diff --git a/test/regress/634AA589.test b/test/regress/634AA589.test new file mode 100644 index 00000000..8f8ff031 --- /dev/null +++ b/test/regress/634AA589.test @@ -0,0 +1,19 @@ + +; The option --permissive quiets balance assertions + +2014-05-01 * Opening balance + Assets:Cash $100 + Equity:Opening balance + +2014-05-10 * Spend money + Expenses:Foo $10 + Assets:Cash -$10 = $80 + +test bal --permissive + $90 Assets:Cash + $-100 Equity:Opening balance + $10 Expenses:Foo +-------------------- + 0 +end test + -- cgit v1.2.3