test updates
This commit is contained in:
		
							parent
							
								
									fada2198cb
								
							
						
					
					
						commit
						6cd65ea7a6
					
				| @ -1,5 +1,5 @@ | |||||||
| # add should prompt again when it gets a bad date | # add should prompt again when it gets a bad date | ||||||
| bin/hledger -f nosuch.ledger add | bin/hledger -f nosuch.journal add | ||||||
| <<< | <<< | ||||||
| 2009/1/32 | 2009/1/32 | ||||||
| >>>2 /date .*: date .*/ | >>>2 /date .*: date .*/ | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| bin/hledger -f nosuch.ledger add | bin/hledger -f nosuch.journal add | ||||||
| <<< | <<< | ||||||
| 
 | 
 | ||||||
| >>>2 /date .*: description/ | >>>2 /date .*: description/ | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| bin/hledger -f nosuch.ledger add | bin/hledger -f nosuch.journal add | ||||||
| <<< | <<< | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,5 +1,5 @@ | |||||||
| # add's default amounts should not fail to balance due to precision | # add's default amounts should not fail to balance due to precision | ||||||
| bin/hledger -f nosuch.ledger add | bin/hledger -f nosuch.journal add | ||||||
| <<< | <<< | ||||||
| 2010/1/1 | 2010/1/1 | ||||||
| x | x | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| bin/hledger -f data/sample.ledger balance --depth 1 | bin/hledger -f data/sample.journal balance --depth 1 | ||||||
| >>> | >>> | ||||||
|                  $-1  assets |                  $-1  assets | ||||||
|                   $2  expenses |                   $2  expenses | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| bin/hledger -f data/sample.ledger balance o | bin/hledger -f data/sample.journal balance o | ||||||
| >>> | >>> | ||||||
|                   $1  expenses:food |                   $1  expenses:food | ||||||
|                  $-2  income |                  $-2  income | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| bin/hledger -f data/sample.ledger balance | bin/hledger -f data/sample.journal balance | ||||||
| >>> | >>> | ||||||
|                  $-1  assets |                  $-1  assets | ||||||
|                   $1    bank:saving |                   $1    bank:saving | ||||||
|  | |||||||
| @ -1,5 +1,5 @@ | |||||||
| # 1. virtual posting shouldn't affect balance | # 1. virtual posting shouldn't affect balance | ||||||
| bin/hledger -f- | bin/hledger -f- print | ||||||
| <<< | <<< | ||||||
| 2009/1/1 x | 2009/1/1 x | ||||||
|   (virtual)  100 |   (virtual)  100 | ||||||
| @ -7,7 +7,7 @@ bin/hledger -f- | |||||||
|   b |   b | ||||||
| # | # | ||||||
| # 2. balanced virtual postings should be required to balance (themselves) | # 2. balanced virtual postings should be required to balance (themselves) | ||||||
| bin/hledger -f- | bin/hledger -f- print | ||||||
| <<< | <<< | ||||||
| 2010/1/1 x | 2010/1/1 x | ||||||
|   [balanced virtual]  10 |   [balanced virtual]  10 | ||||||
| @ -16,7 +16,7 @@ bin/hledger -f- | |||||||
| >>>= !0 | >>>= !0 | ||||||
| # | # | ||||||
| # 3. balanced virtual postings should be required to balance (themselves) | # 3. balanced virtual postings should be required to balance (themselves) | ||||||
| bin/hledger -f- | bin/hledger -f- print | ||||||
| <<< | <<< | ||||||
| 2010/1/1 x | 2010/1/1 x | ||||||
|   [balanced virtual]  10 |   [balanced virtual]  10 | ||||||
| @ -25,14 +25,14 @@ bin/hledger -f- | |||||||
|   b |   b | ||||||
| # | # | ||||||
| # 4. a virtual posting with implicit amount should be handled correctly | # 4. a virtual posting with implicit amount should be handled correctly | ||||||
| bin/hledger -f- | bin/hledger -f- print | ||||||
| <<< | <<< | ||||||
| 2010/1/1 x | 2010/1/1 x | ||||||
|   [a]    10 |   [a]    10 | ||||||
|   [b] |   [b] | ||||||
| # | # | ||||||
| # 5. real and balanced virtual postings are balanced separately, and multiple blank virtuals are ok | # 5. real and balanced virtual postings are balanced separately, and multiple blank virtuals are ok | ||||||
| bin/hledger -f- | bin/hledger -f- balance | ||||||
| <<< | <<< | ||||||
| 2010/1/1 x | 2010/1/1 x | ||||||
|   a  1 |   a  1 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user