Skip to content

1.43: cur: with balance commands has broken #2396

Description

@simonmichael
2025-06-03
 a  1 A
 a  1 B
 b

Old behavior:

$ hledger -f /tmp/test.journal bal cur:A -N
                 1 A  a
                -1 A  b

New behavior:

$ hledger bal -f /tmp/test.journal cur:A -N
                 1 A  a
                -1 A
                -1 B  b

Originally posted by @aragaer in #2387 (comment)

Yikes! You found a hole in our tests. Thanks @aragaer!

Related: #2371

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.affects4-manyAffects potentially a significant number of users.annoyance4-majorMajor usability/doc bug, or any regression or crash.balancebalancesheetbalancesheetequitybountyThar's some kind o' loot on offer..cashflowincomestatementregressionA backwards step, indicating a weakness in our QA. We don't like these.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions