diff options
Diffstat (limited to 'test/regress/align-amounts.test')
-rw-r--r-- | test/regress/align-amounts.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/align-amounts.test b/test/regress/align-amounts.test new file mode 100644 index 00000000..5e79beb7 --- /dev/null +++ b/test/regress/align-amounts.test @@ -0,0 +1,24 @@ +; Amounts should still align even though the account names are much longer than +; the default --account-width. + +2023/01/01 Transaction with short account names + Assets:Short -10 ABC + Assets:Short -10 ABC + Expenses:Short 20 ABC + +2023/01/01 Transaction with long account names + Assets:Very:Long:Account:Name:That:Will:Push:The:Amount -10 ABC + Assets:Another:Long:Account:Name:That:Will:Push:The:Amount -10 ABC + Expenses:Short 20 ABC + +test print +2023/01/01 Transaction with short account names + Assets:Short -10 ABC + Assets:Short -10 ABC + Expenses:Short 20 ABC + +2023/01/01 Transaction with long account names + Assets:Very:Long:Account:Name:That:Will:Push:The:Amount -10 ABC + Assets:Another:Long:Account:Name:That:Will:Push:The:Amount -10 ABC + Expenses:Short 20 ABC +end test |