Added baseline test for "check" feature
This commit is contained in:
parent
03912a44ab
commit
4d1eea90c5
1 changed files with 18 additions and 0 deletions
18
test/baseline/feat-check.test
Normal file
18
test/baseline/feat-check.test
Normal file
|
|
@ -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/)
|
||||||
Loading…
Add table
Reference in a new issue