-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Balance assertions are not checked (BZ#1132) #1132
Comments
Comment author: Thierry (@thdox) Created attachment 119 If I launch reg on attached file, I got, for date near 2009/07/31: --------------------8<--------------------8<--------------------8<---------- But in my file, I have the following transaction: --------------------8<--------------------8<--------------------8<---------- As we can see, the "reg" command is giving the correct math computed result, that is 406,68. The expected syntax error, is that it should have failed saying that on 2009/07/31, balance should be 406,68. In my file I have 406,66 that is not correct. So ledger does not check the balance assertions in this use case.
|
Comment author: Thierry (@thdox) ledger command is actually this one (with correct filename): ledger --args-only --decimal-comma --file test_32.ledger --columns=72 --no-pager reg Actif:Invest:Broker |
Comment author: Thierry (@thdox) Created attachment 120 I attach another test file, even simpler, where the balance assertion is not checked. The command is: ledger --args-only --decimal-comma --file test_32_1.ledger --columns=72 --no-pager reg Autre But this should fail, as expected balance on first transaction is -126 (not 0).
|
Probably solved by pull request #451, |
Duplicate of issue #1147 |
Note: the issue was created automatically with bugzilla2github
Bugzilla bug ID: BZ#1132
From: Thierry (@thdox)
The text was updated successfully, but these errors were encountered: