gather balance tests
This commit is contained in:
		
							parent
							
								
									6ddf394119
								
							
						
					
					
						commit
						4a7b3b9b74
					
				| @ -1,9 +1,9 @@ | |||||||
| bin/hledger -f data/sample.journal balance --depth 1 | # 1 | ||||||
|  | bin/hledger -f data/sample.journal balance --no-total --depth 1 | ||||||
| >>> | >>> | ||||||
|                  $-1  assets |                  $-1  assets | ||||||
|                   $2  expenses |                   $2  expenses | ||||||
|                  $-2  income |                  $-2  income | ||||||
|                   $1  liabilities |                   $1  liabilities | ||||||
| -------------------- |  | ||||||
|                    0 |  | ||||||
| >>>=0 | >>>=0 | ||||||
|  | 
 | ||||||
| @ -1,3 +1,4 @@ | |||||||
|  | # 1. | ||||||
| bin/hledger -f data/sample.journal balance | bin/hledger -f data/sample.journal balance | ||||||
| >>> | >>> | ||||||
|                  $-1  assets |                  $-1  assets | ||||||
| @ -13,3 +14,15 @@ bin/hledger -f data/sample.journal balance | |||||||
| -------------------- | -------------------- | ||||||
|                    0 |                    0 | ||||||
| >>>=0 | >>>=0 | ||||||
|  | 
 | ||||||
|  | # 2.  | ||||||
|  | bin/hledger -f data/sample.journal balance o | ||||||
|  | >>> | ||||||
|  |                   $1  expenses:food | ||||||
|  |                  $-2  income | ||||||
|  |                  $-1    gifts | ||||||
|  |                  $-1    salary | ||||||
|  | -------------------- | ||||||
|  |                  $-1 | ||||||
|  | >>>=0 | ||||||
|  | 
 | ||||||
| @ -1,9 +0,0 @@ | |||||||
| bin/hledger -f data/sample.journal balance o |  | ||||||
| >>> |  | ||||||
|                   $1  expenses:food |  | ||||||
|                  $-2  income |  | ||||||
|                  $-1    gifts |  | ||||||
|                  $-1    salary |  | ||||||
| -------------------- |  | ||||||
|                  $-1 |  | ||||||
| >>>=0 |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user