summaryrefslogtreecommitdiff
path: root/test/baseline/feat-check.test
blob: 18c7ccdfdc6b76ce892bcfd046bf6341669c56e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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/)