summaryrefslogtreecommitdiff
path: root/test/baseline/opt-sort-xacts.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-14 07:20:23 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-14 07:20:23 -0400
commitc367dcab82c52283183008b27fe144a82e15ce90 (patch)
tree660a815387e86837361e7da0c3542f74d00ed60d /test/baseline/opt-sort-xacts.test
parentd11ff330744b7af8d5f9c378243f3f5c4fa715b8 (diff)
downloadfork-ledger-c367dcab82c52283183008b27fe144a82e15ce90.tar.gz
fork-ledger-c367dcab82c52283183008b27fe144a82e15ce90.tar.bz2
fork-ledger-c367dcab82c52283183008b27fe144a82e15ce90.zip
Improved algorithm for abbreviating account names
Diffstat (limited to 'test/baseline/opt-sort-xacts.test')
-rw-r--r--test/baseline/opt-sort-xacts.test76
1 files changed, 38 insertions, 38 deletions
diff --git a/test/baseline/opt-sort-xacts.test b/test/baseline/opt-sort-xacts.test
index 4882e18f..5dee9775 100644
--- a/test/baseline/opt-sort-xacts.test
+++ b/test/baseline/opt-sort-xacts.test
@@ -86,27 +86,27 @@ reg --sort=account
>>>1
08-Dec-26 U.S. Department of .. Assets:Checking $-127.00 $-127.00
08-Dec-26 U.S. Department of .. Assets:Checking $-127.00 $-254.00
-08-Jan-11 LIAT Ex:Travel:Airfare $40.00 $-214.00
-08-Jan-14 cheaptickets.com Ex:Travel:Airfare $182.19 $-31.81
-08-Feb-05 UNITED Ex:Travel:Airfare $238.80 $206.99
-08-Feb-05 UNITED Ex:Travel:Airfare $238.80 $445.79
-08-Mar-16 IBERIA Ex:Travel:Airfare $1,231.60 $1,677.39
-08-Mar-16 IBERIA Ex:Travel:Airfare $1,231.60 $2,908.99
-08-Apr-03 AMERICAN Ex:Travel:Airfare $155.86 $3,064.85
-08-Apr-03 AMERICAN Ex:Travel:Airfare $155.86 $3,220.71
-08-Apr-30 UNITED Ex:Travel:Airfare $437.21 $3,657.92
-08-Apr-30 UNITED Ex:Travel:Airfare $437.21 $4,095.13
-08-Sep-06 AMERICAN Ex:Travel:Airfare $912.60 $5,007.73
-08-Sep-06 AMERICAN Ex:Travel:Airfare $912.60 $5,920.33
-08-Sep-22 AGNT FEE Ex:Travel:Airfare $70.00 $5,990.33
-08-Sep-22 DELTA Ex:Travel:Airfare $806.20 $6,796.53
-08-Sep-22 DELTA Ex:Travel:Airfare $806.20 $7,602.73
-08-Sep-22 LIAT 1974 LIMITED Ex:Travel:Airfare $418.34 $8,021.07
+08-Jan-11 LIAT Expense:Travel:Airfare $40.00 $-214.00
+08-Jan-14 cheaptickets.com Expense:Travel:Airfare $182.19 $-31.81
+08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $206.99
+08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $445.79
+08-Mar-16 IBERIA Expense:Travel:Airfare $1,231.60 $1,677.39
+08-Mar-16 IBERIA Expense:Travel:Airfare $1,231.60 $2,908.99
+08-Apr-03 AMERICAN Expense:Travel:Airfare $155.86 $3,064.85
+08-Apr-03 AMERICAN Expense:Travel:Airfare $155.86 $3,220.71
+08-Apr-30 UNITED Expense:Travel:Airfare $437.21 $3,657.92
+08-Apr-30 UNITED Expense:Travel:Airfare $437.21 $4,095.13
+08-Sep-06 AMERICAN Expense:Travel:Airfare $912.60 $5,007.73
+08-Sep-06 AMERICAN Expense:Travel:Airfare $912.60 $5,920.33
+08-Sep-22 AGNT FEE Expense:Travel:Airfare $70.00 $5,990.33
+08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $6,796.53
+08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $7,602.73
+08-Sep-22 LIAT 1974 LIMITED Expense:Travel:Airfare $418.34 $8,021.07
08-Feb-05 CTX Expenses:Travel:Auto $240.38 $8,261.45
08-Feb-22 BUDGET RENT-A-CAR Expenses:Travel:Auto $40.59 $8,302.04
-08-Aug-08 BCIS I-131 FILING F.. Ex:Travel:Passport $170.00 $8,472.04
-08-Dec-26 U.S. Department of .. Ex:Travel:Passport $127.00 $8,599.04
-08-Dec-26 U.S. Department of .. Ex:Travel:Passport $127.00 $8,726.04
+08-Aug-08 BCIS I-131 FILING F.. Expens:Travel:Passport $170.00 $8,472.04
+08-Dec-26 U.S. Department of .. Expens:Travel:Passport $127.00 $8,599.04
+08-Dec-26 U.S. Department of .. Expens:Travel:Passport $127.00 $8,726.04
08-Jan-11 LIAT Liabilities:MasterCard $-40.00 $8,686.04
08-Jan-14 cheaptickets.com Liabilities:MasterCard $-182.19 $8,503.85
08-Feb-05 CTX Liabilities:MasterCard $-240.38 $8,263.47
@@ -130,47 +130,47 @@ reg --sort=account
=== 0
reg --sort-xacts=account
>>>1
-08-Jan-11 LIAT Ex:Travel:Airfare $40.00 $40.00
+08-Jan-11 LIAT Expense:Travel:Airfare $40.00 $40.00
Liabilities:MasterCard $-40.00 0
-08-Jan-14 cheaptickets.com Ex:Travel:Airfare $182.19 $182.19
+08-Jan-14 cheaptickets.com Expense:Travel:Airfare $182.19 $182.19
Liabilities:MasterCard $-182.19 0
08-Feb-05 CTX Expenses:Travel:Auto $240.38 $240.38
Liabilities:MasterCard $-240.38 0
-08-Feb-05 UNITED Ex:Travel:Airfare $238.80 $238.80
+08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $238.80
Liabilities:MasterCard $-238.80 0
-08-Feb-05 UNITED Ex:Travel:Airfare $238.80 $238.80
+08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $238.80
Liabilities:MasterCard $-238.80 0
08-Feb-22 BUDGET RENT-A-CAR Expenses:Travel:Auto $40.59 $40.59
Liabilities:MasterCard $-40.59 0
-08-Mar-16 IBERIA Ex:Travel:Airfare $1,231.60 $1,231.60
+08-Mar-16 IBERIA Expense:Travel:Airfare $1,231.60 $1,231.60
Liabilities:MasterCard $-1,231.60 0
-08-Mar-16 IBERIA Ex:Travel:Airfare $1,231.60 $1,231.60
+08-Mar-16 IBERIA Expense:Travel:Airfare $1,231.60 $1,231.60
Liabilities:MasterCard $-1,231.60 0
-08-Apr-03 AMERICAN Ex:Travel:Airfare $155.86 $155.86
+08-Apr-03 AMERICAN Expense:Travel:Airfare $155.86 $155.86
Liabilities:MasterCard $-155.86 0
-08-Apr-03 AMERICAN Ex:Travel:Airfare $155.86 $155.86
+08-Apr-03 AMERICAN Expense:Travel:Airfare $155.86 $155.86
Liabilities:MasterCard $-155.86 0
-08-Apr-30 UNITED Ex:Travel:Airfare $437.21 $437.21
+08-Apr-30 UNITED Expense:Travel:Airfare $437.21 $437.21
Liabilities:MasterCard $-437.21 0
-08-Apr-30 UNITED Ex:Travel:Airfare $437.21 $437.21
+08-Apr-30 UNITED Expense:Travel:Airfare $437.21 $437.21
Liabilities:MasterCard $-437.21 0
-08-Aug-08 BCIS I-131 FILING F.. Ex:Travel:Passport $170.00 $170.00
+08-Aug-08 BCIS I-131 FILING F.. Expens:Travel:Passport $170.00 $170.00
Liabilities:MasterCard $-170.00 0
-08-Sep-06 AMERICAN Ex:Travel:Airfare $912.60 $912.60
+08-Sep-06 AMERICAN Expense:Travel:Airfare $912.60 $912.60
Liabilities:MasterCard $-912.60 0
-08-Sep-06 AMERICAN Ex:Travel:Airfare $912.60 $912.60
+08-Sep-06 AMERICAN Expense:Travel:Airfare $912.60 $912.60
Liabilities:MasterCard $-912.60 0
-08-Sep-22 AGNT FEE Ex:Travel:Airfare $70.00 $70.00
+08-Sep-22 AGNT FEE Expense:Travel:Airfare $70.00 $70.00
Liabilities:MasterCard $-70.00 0
-08-Sep-22 DELTA Ex:Travel:Airfare $806.20 $806.20
+08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $806.20
Liabilities:MasterCard $-806.20 0
-08-Sep-22 DELTA Ex:Travel:Airfare $806.20 $806.20
+08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $806.20
Liabilities:MasterCard $-806.20 0
-08-Sep-22 LIAT 1974 LIMITED Ex:Travel:Airfare $418.34 $418.34
+08-Sep-22 LIAT 1974 LIMITED Expense:Travel:Airfare $418.34 $418.34
Liabilities:MasterCard $-418.34 0
08-Dec-26 U.S. Department of .. Assets:Checking $-127.00 $-127.00
- Ex:Travel:Passport $127.00 0
+ Expens:Travel:Passport $127.00 0
08-Dec-26 U.S. Department of .. Assets:Checking $-127.00 $-127.00
- Ex:Travel:Passport $127.00 0
+ Expens:Travel:Passport $127.00 0
>>>2
=== 0