diff options
Diffstat (limited to 'test/baseline/feat-check.test')
-rw-r--r-- | test/baseline/feat-check.test | 18 |
1 files changed, 18 insertions, 0 deletions
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/) |