summaryrefslogtreecommitdiff
path: root/test/baseline/feat-check.test
blob: 4029dfcd7f4d68f8631dc3ff5c8b23e2fa37ec77 (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/)