From 4d1eea90c50cff5c97ca59937428f7bec120e784 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 26 Jun 2010 01:17:08 -0400 Subject: Added baseline test for "check" feature --- test/baseline/feat-check.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/baseline/feat-check.test (limited to 'test/baseline/feat-check.test') diff --git a/test/baseline/feat-check.test b/test/baseline/feat-check.test new file mode 100644 index 00000000..4029dfcd --- /dev/null +++ b/test/baseline/feat-check.test @@ -0,0 +1,18 @@ +bal +<<< += /Checking/ + check account =~ /Foo/ + +2010-06-24 Sample + Expenses:Food $100 + Assets:Checking + +check account("Assets:Checking").all(account =~ /Expense/) +>>> + $-100 Assets:Checking + $100 Expenses:Food +-------------------- + 0 +>>>2 +Warning: Transaction check failed: account =~ /Foo/ +Warning: Check failed: account("Assets:Checking").all(account =~ /Expense/) -- cgit v1.2.3