Sometimes the assert expressions I'm adding to my ledger file fail and I
don't immediately know why. If I have something like this:
assert account("Assets:CurrentAccount").total == $123.45
and I'm wrong about the total, then I'll just be told that I'm wrong,
and not what the correct value is. What's the easiest way to get ledger
to compute and print the correct value?
Maybe there's a way to print out account values at a given point in a
ledger file? In particular, maybe there's a way to print the values of
value expressions as the ledger file is evaluated by a command like
balance?
I realize it's good to be able to see what the answer is before one
writes it down, but sometimes it just saves time to have the computer
work it out so you can see quickly what you did wrong.
--
---
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].
For more options, visit https://groups.google.com/d/optout.