diff options
author | John Wiegley <johnw@newartisans.com> | 2018-06-09 17:51:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-09 17:51:11 -0700 |
commit | 738b2cee088366dd33ccc5f70a095b0ba139a742 (patch) | |
tree | a83265b4107befc5299c21f1198694f5a6bcee51 /test | |
parent | e3fa7e9d89c17c69a163dfb031436ca8830f6562 (diff) | |
parent | 6853464fd0c4a0428540edc635f1257cfb534bcd (diff) | |
download | ledger-738b2cee088366dd33ccc5f70a095b0ba139a742.tar.gz ledger-738b2cee088366dd33ccc5f70a095b0ba139a742.tar.bz2 ledger-738b2cee088366dd33ccc5f70a095b0ba139a742.zip |
Merge pull request #1649 from Christoph-D/next
Make automated transactions work with assertions
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/1127.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/1127.test b/test/regress/1127.test new file mode 100644 index 00000000..905401f8 --- /dev/null +++ b/test/regress/1127.test @@ -0,0 +1,15 @@ +; Test that automated transactions are added to accounts soon enough +; for assertions to work. + += expr account =~ /^Assets/ + (Foo) 1 + +2018-06-09 Something + Assets $100 + Equity + +2018-06-09 Assert amount added by automated transaction + [Foo] = $100 +test bal Foo + $100 Foo +end test |