update functional tests for new monthly headings
This commit is contained in:
		
							parent
							
								
									64e06750eb
								
							
						
					
					
						commit
						10a4392b24
					
				| @ -18,10 +18,10 @@ hledger -f sample.journal balance -M -e 2008/4 --depth 0 | ||||
| >>> | ||||
| Balance changes in 2008/01: | ||||
| 
 | ||||
|      || 2008/01  | ||||
| =====++========= | ||||
|      || Jan  | ||||
| =====++===== | ||||
|  ... ||   0  | ||||
| -----++--------- | ||||
| -----++----- | ||||
|      ||   0  | ||||
| >>>=0 | ||||
| 
 | ||||
|  | ||||
| @ -16,8 +16,8 @@ hledger -f balance-multicol.journal balance -p 'monthly in 2013' --no-total | ||||
| >>> | ||||
| Balance changes in 2013q1: | ||||
| 
 | ||||
|                  || 2013/01  2013/02  2013/03  | ||||
| =================++=========================== | ||||
|                  || Jan  Feb  Mar  | ||||
| =================++=============== | ||||
|  assets          ||   0    1    0  | ||||
|  assets:cash     ||   0    1    0  | ||||
|  assets:checking ||   0    0    1  | ||||
| @ -93,11 +93,11 @@ hledger -f balance-multicol.journal balance -p 'monthly in 2013' not:assets$ | ||||
| >>> | ||||
| Balance changes in 2013q1: | ||||
| 
 | ||||
|                  || 2013/01  2013/02  2013/03  | ||||
| =================++=========================== | ||||
|                  || Jan  Feb  Mar  | ||||
| =================++=============== | ||||
|  assets:cash     ||   0    1    0  | ||||
|  assets:checking ||   0    0    1  | ||||
| -----------------++--------------------------- | ||||
| -----------------++--------------- | ||||
|                  ||   0    1    1  | ||||
| >>>=0 | ||||
| 
 | ||||
| @ -135,10 +135,10 @@ hledger -f balance-multicol.journal balance -p 'monthly in 2013' --depth 1 | ||||
| >>> | ||||
| Balance changes in 2013q1: | ||||
| 
 | ||||
|         || 2013/01  2013/02  2013/03  | ||||
| ========++=========================== | ||||
|         || Jan  Feb  Mar  | ||||
| ========++=============== | ||||
|  assets ||   0    2    1  | ||||
| --------++--------------------------- | ||||
| --------++--------------- | ||||
|         ||   0    2    1  | ||||
| >>>=0 | ||||
| 
 | ||||
| @ -147,10 +147,10 @@ hledger -f balance-multicol.journal balance -p 'monthly in 2013' --depth 1 asset | ||||
| >>> | ||||
| Balance changes in 2013q1: | ||||
| 
 | ||||
|         || 2013/01  2013/02  2013/03  | ||||
| ========++=========================== | ||||
|         || Jan  Feb  Mar  | ||||
| ========++=============== | ||||
|  assets ||   0    1    1  | ||||
| --------++--------------------------- | ||||
| --------++--------------- | ||||
|         ||   0    1    1  | ||||
| >>>=0 | ||||
| 
 | ||||
| @ -183,12 +183,12 @@ hledger -f balance-multicol.journal balance -p 'monthly in 2013' --tree | ||||
| >>> | ||||
| Balance changes in 2013q1: | ||||
| 
 | ||||
|             || 2013/01  2013/02  2013/03  | ||||
| ============++=========================== | ||||
|             || Jan  Feb  Mar  | ||||
| ============++=============== | ||||
|  assets     ||   0    2    1  | ||||
|    cash     ||   0    1    0  | ||||
|    checking ||   0    0    1  | ||||
| ------------++--------------------------- | ||||
| ------------++--------------- | ||||
|             ||   0    2    1  | ||||
| >>>=0 | ||||
| 
 | ||||
| @ -232,11 +232,11 @@ hledger -f- balance --monthly --date2 | ||||
| >>> | ||||
| Balance changes in 2014/01: | ||||
| 
 | ||||
|    || 2014/01  | ||||
| ===++========= | ||||
|    || Jan  | ||||
| ===++===== | ||||
|  a ||   1  | ||||
|  b ||   1  | ||||
| ---++--------- | ||||
| ---++----- | ||||
|    ||   2  | ||||
| >>>=0 | ||||
| 
 | ||||
| @ -255,11 +255,11 @@ hledger -f- balance -p 'monthly 2014/1/10-2014/2/20' | ||||
| >>> | ||||
| Balance changes in 2014/01/01-2014/02/28: | ||||
| 
 | ||||
|         || 2014/01  2014/02  | ||||
| ========++================== | ||||
|         || Jan  Feb  | ||||
| ========++========== | ||||
|  after  ||   0    1  | ||||
|  before ||   1    0  | ||||
|  within ||   0    1  | ||||
| --------++------------------ | ||||
| --------++---------- | ||||
|         ||   1    2  | ||||
| >>>=0 | ||||
|  | ||||
| @ -2,11 +2,11 @@ hledger -f balance-multicol.journal balance --pretty-tables -M | ||||
| >>> | ||||
| Balance changes in 2012/12/01-2013/03/31: | ||||
| 
 | ||||
|                  ║ 2012/12  2013/01  2013/02  2013/03  | ||||
| ═════════════════╬════════════════════════════════════ | ||||
|                  ║ Dec  Jan  Feb  Mar  | ||||
| ═════════════════╬════════════════════ | ||||
|  assets          ║   0    0    1    0  | ||||
|  assets:cash     ║   0    0    1    0  | ||||
|  assets:checking ║  10    0    0    1  | ||||
| ─────────────────╫──────────────────────────────────── | ||||
| ─────────────────╫──────────────────── | ||||
|                  ║  10    0    2    1  | ||||
| >>>=0 | ||||
|  | ||||
| @ -14,15 +14,15 @@ hledger bal -M -b 2016-11 -e 2017-02 -f - --forecast | ||||
| >>> | ||||
| Balance changes in 2016/12/01-2017/01/31: | ||||
| 
 | ||||
|                   || 2016/12  2017/01  | ||||
| ==================++================== | ||||
|                   ||   Dec     Jan  | ||||
| ==================++=============== | ||||
|  assets:cash      || $-600    $935  | ||||
|  expenses:food    ||     0     $20  | ||||
|  expenses:grocery ||     0     $30  | ||||
|  expenses:housing ||  $600       0  | ||||
|  expenses:leisure ||     0     $15  | ||||
|  income           ||     0  $-1000  | ||||
| ------------------++------------------ | ||||
| ------------------++--------------- | ||||
|                   ||     0       0  | ||||
| >>>2 | ||||
| >>>=0 | ||||
|  | ||||
| @ -112,7 +112,7 @@ hledger -f - cashflow -b 2015/11 -e 2015/12 | ||||
| >>> | ||||
| Cashflow Statement 2015/11 | ||||
| 
 | ||||
|                  ||    2015/11  | ||||
|                  ||        Nov  | ||||
| =================++============ | ||||
|  Cash flows      ||             | ||||
| -----------------++------------ | ||||
| @ -147,11 +147,11 @@ hledger -f - cashflow -b 2016/10 -e 2016/11 | ||||
| >>> | ||||
| Cashflow Statement 2016/10 | ||||
| 
 | ||||
|             || 2016/10  | ||||
| ============++========= | ||||
|             || Oct  | ||||
| ============++===== | ||||
|  Cash flows ||      | ||||
| ------------++--------- | ||||
| ------------++--------- | ||||
| ------------++----- | ||||
| ------------++----- | ||||
|             ||   0  | ||||
| >>>2 | ||||
| >>>= 0 | ||||
| @ -161,14 +161,14 @@ hledger -f sample.journal cashflow -p 'monthly in 2008' | ||||
| >>> | ||||
| Cashflow Statement 2008 | ||||
| 
 | ||||
|                       || 2008/01  2008/02  2008/03  2008/04  2008/05  2008/06  2008/07  2008/08  2008/09  2008/10  2008/11  2008/12  | ||||
| ======================++============================================================================================================ | ||||
|                       || Jan  Feb  Mar  Apr  May  Jun  Jul  Aug  Sep  Oct  Nov  Dec  | ||||
| ======================++============================================================ | ||||
|  Cash flows           ||                                                             | ||||
| ----------------------++------------------------------------------------------------------------------------------------------------ | ||||
| ----------------------++------------------------------------------------------------ | ||||
|  assets:bank:checking ||  $1    0    0    0    0    0    0    0    0    0    0  $-1  | ||||
|  assets:bank:saving   ||   0    0    0    0    0   $1    0    0    0    0    0    0  | ||||
|  assets:cash          ||   0    0    0    0    0  $-2    0    0    0    0    0    0  | ||||
| ----------------------++------------------------------------------------------------------------------------------------------------ | ||||
| ----------------------++------------------------------------------------------------ | ||||
|                       ||  $1    0    0    0    0  $-1    0    0    0    0    0  $-1  | ||||
| >>>= 0 | ||||
| 
 | ||||
|  | ||||
| @ -136,7 +136,7 @@ hledger -f - incomestatement -b 2015/10 -e 2015/11 | ||||
| >>> | ||||
| Income Statement 2015/10 | ||||
| 
 | ||||
|                    ||    2015/10  | ||||
|                    ||        Oct  | ||||
| ===================++============ | ||||
|  Revenues          ||             | ||||
| -------------------++------------ | ||||
| @ -178,18 +178,18 @@ hledger -f - incomestatement -b 2016/10 -e 2016/11 | ||||
| >>> | ||||
| Income Statement 2016/10 | ||||
| 
 | ||||
|           || 2016/10  | ||||
| ==========++========= | ||||
|           || Oct  | ||||
| ==========++===== | ||||
|  Revenues ||      | ||||
| ----------++--------- | ||||
| ----------++--------- | ||||
| ----------++----- | ||||
| ----------++----- | ||||
|           ||   0  | ||||
| ==========++========= | ||||
| ==========++===== | ||||
|  Expenses ||      | ||||
| ----------++--------- | ||||
| ----------++--------- | ||||
| ----------++----- | ||||
| ----------++----- | ||||
|           ||   0  | ||||
| ==========++========= | ||||
| ==========++===== | ||||
|  Net:     ||   0  | ||||
| >>>2 | ||||
| >>>= 0 | ||||
| @ -220,22 +220,22 @@ hledger -f sample.journal incomestatement -p 'monthly in 2008' -AT | ||||
| >>> | ||||
| Income Statement 2008 | ||||
| 
 | ||||
|                    || 2008/01  2008/02  2008/03  2008/04  2008/05  2008/06  2008/07  2008/08  2008/09  2008/10  2008/11  2008/12    Total  Average  | ||||
| ===================++============================================================================================================================== | ||||
|                    || Jan  Feb  Mar  Apr  May  Jun  Jul  Aug  Sep  Oct  Nov  Dec    Total  Average  | ||||
| ===================++============================================================================== | ||||
|  Revenues          ||                                                                               | ||||
| -------------------++------------------------------------------------------------------------------------------------------------------------------ | ||||
| -------------------++------------------------------------------------------------------------------ | ||||
|  income:gifts      ||   0    0    0    0    0   $1    0    0    0    0    0    0       $1        0  | ||||
|  income:salary     ||  $1    0    0    0    0    0    0    0    0    0    0    0       $1        0  | ||||
| -------------------++------------------------------------------------------------------------------------------------------------------------------ | ||||
| -------------------++------------------------------------------------------------------------------ | ||||
|                    ||  $1    0    0    0    0   $1    0    0    0    0    0    0       $2        0  | ||||
| ===================++============================================================================================================================== | ||||
| ===================++============================================================================== | ||||
|  Expenses          ||                                                                               | ||||
| -------------------++------------------------------------------------------------------------------------------------------------------------------ | ||||
| -------------------++------------------------------------------------------------------------------ | ||||
|  expenses:food     ||   0    0    0    0    0   $1    0    0    0    0    0    0       $1        0  | ||||
|  expenses:supplies ||   0    0    0    0    0   $1    0    0    0    0    0    0       $1        0  | ||||
| -------------------++------------------------------------------------------------------------------------------------------------------------------ | ||||
| -------------------++------------------------------------------------------------------------------ | ||||
|                    ||   0    0    0    0    0   $2    0    0    0    0    0    0       $2        0  | ||||
| ===================++============================================================================================================================== | ||||
| ===================++============================================================================== | ||||
|  Net:              ||  $1    0    0    0    0  $-1    0    0    0    0    0    0        0        0  | ||||
| >>>= 0 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user