summaryrefslogtreecommitdiff
path: root/test/regress/2109.test
blob: db0d7155ea058f135cd9f2610375c8f77bde7ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2021/11/22 Entry
    Assets:Foo        100 FOO (Note) {$43.44}
    Income:Bar

2021/11/22 Entry
    Assets:Foo        100 FOO (Misc) {$45.44} = 200 FOO
    Income:Bar

2021/11/22 Entry
    Assets:Foo        $100
    Income:Bar

2021/11/22 Balance Check
    Assets:Foo                                0 FOO = 200 FOO

test reg
21-Nov-22 Entry                 Assets:Foo                  100 FOO      100 FOO
                                Income:Bar                 -100 FOO            0
21-Nov-22 Entry                 Assets:Foo                  100 FOO      100 FOO
                                Income:Bar                 -100 FOO            0
21-Nov-22 Entry                 Assets:Foo                     $100         $100
                                Income:Bar                    $-100            0
end test