summaryrefslogtreecommitdiff
path: root/test/regress/1894_2.test
blob: e2dc7d921f5722c23b27f2c74cd6baa31669187c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
= ^Expenses and expr "any(account =~ /^A:Assets/ and R)"
    [A:Assets:Split]              (amount / 2)
    [B:Assets:Split]              (-amount / 2)

= ^Expenses and expr "any(account =~ /^B:Assets/ and R)"
    [B:Assets:Split]              (amount / 2)
    [A:Assets:Split]              (-amount / 2)

2020-05-08 * Test
    Expenses:Transportation            200.00 EUR
    A:Assets:Checking

test bal
         -100.00 EUR  A:Assets
         -200.00 EUR    Checking
          100.00 EUR    Split
         -100.00 EUR  B:Assets:Split
          200.00 EUR  Expenses:Transportation
--------------------
                   0
end test