hledger/tests/journal
Mykola Orliuk 015b764d00 Preserve implicit amounts and prices the way user wrote them in output of print command (#471)
* Remember original postings during infer and pivot

This includes such functions like:
- inferFromAssignment
- inferBalancingAmount
- inferBalancingPrices
- pivotPosting

* Use original postings for hledger print

- Introduce "--explicit" option for "print" command which brings back
  old behavior when every inferred number being printed.
- Make "print" by default print original postings without inferred
  amounts. But use effective account name to have effect from aliases.
- Instruct shell tests with an new expected output or to use
  --explicit option when inferred amounts are checked.

Resolves simonmichael/hledger#442
2017-01-13 07:25:44 -08:00
..
a.timeclock func. test for 320 2016-05-18 13:10:41 -07:00
b.timedot func. test for 320 2016-05-18 13:10:41 -07:00
balance-assertions.test Balance Assignments and accounts resetting (#438) 2016-12-10 07:04:48 -08:00
blank-description.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
comments.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
commodities.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
commodity-styles.test test numbering 2016-05-13 22:10:23 -07:00
dates.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
default-commodity.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
directives.test journal: parse account directives 2016-04-04 11:35:39 -07:00
include.test lib: simplify parsers; cleanups (#275) 2016-05-23 00:44:19 -07:00
market-prices.test update market price tests #403 #453 2016-12-30 14:36:27 -08:00
parens-in-account-name.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
parse-sample-journal.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
posting-dates.test Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
precision.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
status.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
tags.test lib: fix bracketed posting dates, parser cleanup (#304) 2016-04-28 13:34:57 -07:00
transaction-prices.test Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
unbalanced.test tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
virtual-postings.test Balance Assignments and accounts resetting (#438) 2016-12-10 07:04:48 -08:00