diff --git a/hledger/test/add-2478.j b/hledger/test/add-2478.j new file mode 100644 index 000000000..d7b657e83 --- /dev/null +++ b/hledger/test/add-2478.j @@ -0,0 +1,11 @@ +; Example from https://github.com/simonmichael/hledger/issues/2478 - +; the funky ordering requires whole-journal awareness when checking balance assertions. + +2025-01-02 second transaction + a 1 ==* 1 ; date:1/1 + b -1 + +2025-01-01 first transaction + a -1 + c 1 +