From 61beb977684b3c5fb32236b34c940878e24ca2bf Mon Sep 17 00:00:00 2001 From: Tavis Ormandy Date: Thu, 8 Aug 2024 15:39:52 -0700 Subject: add unittest for #ledger/2348 --- test/regress/2348.test | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/regress/2348.test diff --git a/test/regress/2348.test b/test/regress/2348.test new file mode 100644 index 00000000..fe68c500 --- /dev/null +++ b/test/regress/2348.test @@ -0,0 +1,16 @@ +2024/04/24 Foobar + Expenses:Fournitures 25.00 EUR + ; Tag: Hello + Assets:Cash + +test xact --strict 2024/05/12 Foobar -> 0 +2024/05/12 Foobar + Expenses:Fournitures 25.00 EUR + ; Tag: Hello + Assets:Cash +__ERROR__ +Warning: "$FILE", line 2: Unknown account 'Expenses:Fournitures' +Warning: "$FILE", line 2: Unknown commodity 'EUR' +Warning: "$FILE", line 4: Unknown account 'Assets:Cash' +Warning: "$FILE", line 4: Unknown metadata tag 'Tag' +end test -- cgit v1.2.3