* Randy Josleyn <[email protected]> [2020-04-07 12:47]:
> I'd like to use the `assert` directive to do a balance assertion of
> an account after `include`ing a journal file. I can't add the
> balance assertion to the included journal itself. I tried something
> like this:
>
> assert amount account(assets:checking) == 27585.33 CNY
Try:
assert account("assets:checking").amount == 27585.33 CNY
--
Martin Michlmayr
https://www.cyrius.com/
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/20200407045913.GG21495%40jirafa.cyrius.com.