summaryrefslogtreecommitdiff
path: root/test/baseline/opt-sort.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-12 17:31:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-12 18:11:26 -0500
commit9c62463f84dc398b41b387fbacce31abed7e4839 (patch)
treeba73122f301f477b8a4174bd1c3ff27334709ad0 /test/baseline/opt-sort.test
parent512542552b3e3e78f610f3d3f2fd1c8169188324 (diff)
downloadfork-ledger-9c62463f84dc398b41b387fbacce31abed7e4839.tar.gz
fork-ledger-9c62463f84dc398b41b387fbacce31abed7e4839.tar.bz2
fork-ledger-9c62463f84dc398b41b387fbacce31abed7e4839.zip
Changed testing format to aid with debugging
Diffstat (limited to 'test/baseline/opt-sort.test')
-rw-r--r--test/baseline/opt-sort.test48
1 files changed, 24 insertions, 24 deletions
diff --git a/test/baseline/opt-sort.test b/test/baseline/opt-sort.test
index 1b7945cb..40e8116e 100644
--- a/test/baseline/opt-sort.test
+++ b/test/baseline/opt-sort.test
@@ -1,5 +1,3 @@
-reg airfare --sort=date
-<<<
2008/01/11 LIAT
Expenses:Travel:Airfare $40.00
Liabilities:MasterCard
@@ -83,7 +81,8 @@ reg airfare --sort=date
2008/12/26 U.S. Department of State
Expenses:Travel:Passport $127.00
Assets:Checking
->>>1
+
+test reg airfare --sort=date
08-Jan-11 LIAT Expense:Travel:Airfare $40.00 $40.00
08-Jan-14 cheaptickets.com Expense:Travel:Airfare $182.19 $222.19
08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $460.99
@@ -100,9 +99,9 @@ reg airfare --sort=date
08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $7,050.53
08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $7,856.73
08-Sep-22 LIAT 1974 LIMITED Expense:Travel:Airfare $418.34 $8,275.07
-=== 0
-reg airfare --sort=date,amount
->>>1
+end test
+
+test reg airfare --sort=date,amount
08-Jan-11 LIAT Expense:Travel:Airfare $40.00 $40.00
08-Jan-14 cheaptickets.com Expense:Travel:Airfare $182.19 $222.19
08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $460.99
@@ -119,9 +118,9 @@ reg airfare --sort=date,amount
08-Sep-22 LIAT 1974 LIMITED Expense:Travel:Airfare $418.34 $6,662.67
08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $7,468.87
08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $8,275.07
-=== 0
-reg airfare --sort=date,-amount
->>>1
+end test
+
+test reg airfare --sort=date,-amount
08-Jan-11 LIAT Expense:Travel:Airfare $40.00 $40.00
08-Jan-14 cheaptickets.com Expense:Travel:Airfare $182.19 $222.19
08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $460.99
@@ -138,9 +137,9 @@ reg airfare --sort=date,-amount
08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $7,786.73
08-Sep-22 LIAT 1974 LIMITED Expense:Travel:Airfare $418.34 $8,205.07
08-Sep-22 AGNT FEE Expense:Travel:Airfare $70.00 $8,275.07
-=== 0
-reg airfare --sort=-date,-amount
->>>1
+end test
+
+test reg airfare --sort=-date,-amount
08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $806.20
08-Sep-22 DELTA Expense:Travel:Airfare $806.20 $1,612.40
08-Sep-22 LIAT 1974 LIMITED Expense:Travel:Airfare $418.34 $2,030.74
@@ -157,9 +156,9 @@ reg airfare --sort=-date,-amount
08-Feb-05 UNITED Expense:Travel:Airfare $238.80 $8,052.88
08-Jan-14 cheaptickets.com Expense:Travel:Airfare $182.19 $8,235.07
08-Jan-11 LIAT Expense:Travel:Airfare $40.00 $8,275.07
-=== 0
-bal --sort=total
->>>1
+end test
+
+test bal --sort=total
$-8,726.04 Liabilities:MasterCard
$-254.00 Assets:Checking
$8,980.04 Expenses:Travel
@@ -168,9 +167,9 @@ bal --sort=total
$8,275.07 Airfare
--------------------
0
-=== 0
-bal --sort=-total
->>>1
+end test
+
+test bal --sort=-total
$8,980.04 Expenses:Travel
$8,275.07 Airfare
$424.00 Passport
@@ -179,9 +178,9 @@ bal --sort=-total
$-8,726.04 Liabilities:MasterCard
--------------------
0
-=== 0
-bal --sort=-account
->>>1
+end test
+
+test bal --sort=-account
$-8,726.04 Liabilities:MasterCard
$8,980.04 Expenses:Travel
$424.00 Passport
@@ -190,9 +189,9 @@ bal --sort=-account
$-254.00 Assets:Checking
--------------------
0
-=== 0
-reg --sort=account
->>>1
+end test
+
+test reg --sort=account
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 Expense:Travel:Airfare $40.00 $-214.00
@@ -235,3 +234,4 @@ reg --sort=account
08-Sep-22 DELTA Liabilities:MasterCard $-806.20 $1,224.54
08-Sep-22 DELTA Liabilities:MasterCard $-806.20 $418.34
08-Sep-22 LIAT 1974 LIMITED Liabilities:MasterCard $-418.34 0
+end test