From eddba0845b3aa20a68541e799a43d7d3453905dd Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 18 Nov 2025 08:36:58 -1000 Subject: [PATCH] ;dev:add: add missing test file --- hledger/test/add-2478.j | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 hledger/test/add-2478.j 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 +