Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							150b40e465 
							
						 
					 
					
						
						
							
							tests: remove empty scope  
						
						 
						
						
						
					 
					
						2018-08-19 18:07:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bdcfba4eaa 
							
						 
					 
					
						
						
							
							whitespace  
						
						 
						
						
						
					 
					
						2018-08-18 20:31:47 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fc11b5130f 
							
						 
					 
					
						
						
							
							journal: another failing test from  #807  
						
						 
						
						
						
					 
					
						2018-08-18 19:50:15 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7ab8bc2685 
							
						 
					 
					
						
						
							
							tests: import cleanups  
						
						 
						
						
						
					 
					
						2018-08-18 19:47:52 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a8031de729 
							
						 
					 
					
						
						
							
							tests: fix build error with GHC < 8.4  
						
						 
						
						
						
					 
					
						2018-08-18 19:26:07 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							168b853b1a 
							
						 
					 
					
						
						
							
							newer Glob required with ghc 8.0  
						
						 
						
						
						
					 
					
						2018-08-18 19:23:34 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b1b3f4f09e 
							
						 
					 
					
						
						
							
							work around fsnotify build failure with ghc 7.10  
						
						 
						
						... 
						
						
						
						(https://github.com/haskell-fswatch/hfsnotify/issues/84 ) 
						
					 
					
						2018-08-18 19:23:19 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f80f463439 
							
						 
					 
					
						
						
							
							tools: make help-*: just grep make rules, case insensitively  
						
						 
						
						
						
					 
					
						2018-08-18 19:22:15 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f30b1533a0 
							
						 
					 
					
						
						
							
							rewrite: disable outdated doctests  
						
						 
						
						
						
					 
					
						2018-08-18 16:06:34 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6081fead11 
							
						 
					 
					
						
						
							
							lib: clarify package test suites, run all easytests  
						
						 
						
						
						
					 
					
						2018-08-18 15:20:15 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							582e088325 
							
						 
					 
					
						
						
							
							lib: tests/ -> test/  
						
						 
						
						
						
					 
					
						2018-08-18 15:20:15 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fa6f0e8d1a 
							
						 
					 
					
						
						
							
							cli: make cabal test suite run the test command, not just hunit tests  
						
						 
						
						
						
					 
					
						2018-08-18 15:20:15 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d778a92561 
							
						 
					 
					
						
						
							
							tests: export HUnit/EasyTest from Hledger.Utils.Test; more helpers  
						
						 
						
						
						
					 
					
						2018-08-18 15:19:59 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4d578c008f 
							
						 
					 
					
						
						
							
							typo  
						
						 
						
						
						
					 
					
						2018-08-18 13:40:01 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7e1ccd4540 
							
						 
					 
					
						
						
							
							tools: fix make ghci-api  
						
						 
						
						
						
					 
					
						2018-08-18 13:40:01 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e0e21a2c6c 
							
						 
					 
					
						
						
							
							lib: note  
						
						 
						
						
						
					 
					
						2018-08-18 07:30:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9c3a57f615 
							
						 
					 
					
						
						
							
							lib: some test fixes ( #823 )  
						
						 
						
						
						
					 
					
						2018-08-17 14:18:24 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b4c336c874 
							
						 
					 
					
						
						
							
							test/_test/it/_it helpers; refactor easytests  
						
						 
						
						... 
						
						
						
						This makes skipping/unskipping tests easier, and improves readability
a bit.
Note it's also possible to just write the test name with no preceding
function, when the type is constrained (see Journal.hs). 
						
					 
					
						2018-08-17 13:40:37 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							626247bacd 
							
						 
					 
					
						
						
							
							journal: unit tests (2 skipped) for periodtransactionp ( #823 )  
						
						 
						
						
						
					 
					
						2018-08-17 12:42:43 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b1bbbf0d93 
							
						 
					 
					
						
						
							
							lib: expectParseEqIO helper  
						
						 
						
						
						
					 
					
						2018-08-17 12:42:05 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							43d973e8ab 
							
						 
					 
					
						
						
							
							lib: more verbose show instance for PeriodicTransaction  
						
						 
						
						
						
					 
					
						2018-08-17 12:41:45 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9076474a09 
							
						 
					 
					
						
						
							
							lib: --forecast func tests note  
						
						 
						
						
						
					 
					
						2018-08-17 09:37:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e79c58882a 
							
						 
					 
					
						
						
							
							tools: make ghcid-test-TESTPATTERN: run only some tests via ghcid  
						
						 
						
						
						
					 
					
						2018-08-17 09:37:09 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1d775a7a9c 
							
						 
					 
					
						
						
							
							lib: D should not affect automated posting multiplier amounts ( fix   #860 )  
						
						 
						
						
						
					 
					
						2018-08-17 07:39:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							13436637c6 
							
						 
					 
					
						
						
							
							lib: "decimal point" -> "decimal separator" in error message  
						
						 
						
						
						
					 
					
						2018-08-17 07:37:26 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e35dd19cc8 
							
						 
					 
					
						
						
							
							lib: refactor: tighten up amountwithoutpricep  
						
						 
						
						
						
					 
					
						2018-08-17 06:51:07 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e9c5d13ac1 
							
						 
					 
					
						
						
							
							lib: update old failing amountp/postingp tests, at last ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-16 06:42:52 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							dab75d98c8 
							
						 
					 
					
						
						
							
							lib: expectEq', expectParseEq: pretty-print compared values ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-16 06:31:37 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e05188831e 
							
						 
					 
					
						
						
							
							tests: simplify unittests func. test  
						
						 
						
						
						
					 
					
						2018-08-16 06:05:07 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							536eadb809 
							
						 
					 
					
						
						
							
							lib: improve expectParseEq ( #812 )  
						
						 
						
						... 
						
						
						
						Show a pretty parse error, and avoid sequenced scopes
which are confusing (you can't run only the second). 
						
					 
					
						2018-08-16 06:03:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							09d8e302db 
							
						 
					 
					
						
						
							
							lib: use unspaced scopes to simplify command lines ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-16 05:58:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c79cb568f0 
							
						 
					 
					
						
						
							
							journal: fix include test with shelltest -w  
						
						 
						
						
						
					 
					
						2018-08-15 23:05:37 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							50d666d5a0 
							
						 
					 
					
						
						
							
							test: refactor, document, organise easytests, port amountp tests ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-15 19:58:07 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							717a24a76d 
							
						 
					 
					
						
						
							
							fix unit tests func test  
						
						 
						
						
						
					 
					
						2018-08-15 12:03:13 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69325da110 
							
						 
					 
					
						
						
							
							comment out failing tests to fix CI ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-15 11:30:53 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							77ad384fcd 
							
						 
					 
					
						
						
							
							tools: make: tweak quotes for easier copy/paste  
						
						 
						
						
						
					 
					
						2018-08-15 11:24:52 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ed15ebd70e 
							
						 
					 
					
						
						
							
							test: run some easytests as well; print test output on stdout  
						
						 
						
						
						
					 
					
						2018-08-15 11:24:52 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ab7dc3294e 
							
						 
					 
					
						
						
							
							lib: more informative failure output for amount tests ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-15 11:24:52 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e6181efe95 
							
						 
					 
					
						
						
							
							lib: more compact show instance for Amounts ( #812 )  
						
						 
						
						... 
						
						
						
						Amount's default show instance hid important details, making eg test
failures hard to understand. Showing full detail required increasing
the debug level which was inconvenient.
Now it has a single show instance which shows more information, is
fairly compact, and is pretty-printable with pretty-show.
Ellipses (..) in the output indicate where fields are
- not shown in full detail, and/or
- shown in pseudo syntax (double quoted) to work with pretty-show.
ghci> usd 1
OLD:
Amount {acommodity="$", aquantity=1.00, ..}
NEW:
Amount {acommodity = "$", aquantity = 1.00, aprice = NoPrice, astyle = AmountStyle "L False 2 Just '.' Nothing..", amultiplier = False}
MixedAmount's show instance is unchanged, but showMixedAmountDebug
is affected by this change:
ghci> putStrLn $ showMixedAmountDebug $ Mixed [usd 1]
OLD:
Mixed [Amount {acommodity="$", aquantity=1.00, aprice=, astyle=AmountStyle {ascommodityside = L, ascommodityspaced = False, asprecision = 2, asdecimalpoint = Just '.', asdigitgroups = Nothing}}]
NEW:
Mixed [Amount {acommodity="$", aquantity=1.00, aprice=, astyle=AmountStyle "L False 2 Just '.' Nothing.."}] 
						
					 
					
						2018-08-15 11:18:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f47a617dcc 
							
						 
					 
					
						
						
							
							journal: commented test for D and auto postings ( #860 )  
						
						 
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2018-08-15 10:32:10 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4c268f4a93 
							
						 
					 
					
						
						
							
							doc: journal: fix Transaction Modifiers formatting  
						
						 
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2018-08-14 16:07:26 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							681039b387 
							
						 
					 
					
						
						
							
							doc: journal: fix Transaction Modifiers heading  
						
						 
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							27d464f344 
							
						 
					 
					
						
						
							
							lib: some helpers for setting Amount internals ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							efae8f8f2a 
							
						 
					 
					
						
						
							
							lib: comment  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e077aeff5f 
							
						 
					 
					
						
						
							
							lib: more informative test failure message ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							321635274c 
							
						 
					 
					
						
						
							
							lib: move assertParseEqual' ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ebe2d52965 
							
						 
					 
					
						
						
							
							tools: make functest: build hledger and test that, without installing  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b03584dbce 
							
						 
					 
					
						
						
							
							lib: parse helper haddocks  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cfaa0501e6 
							
						 
					 
					
						
						
							
							lib: update some journal parser tests ( #812 )  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							c67404c73d 
							
						 
					 
					
						
						
							
							lib: Fix compile errors in tests  
						
						 
						
						
						
					 
					
						2018-08-14 16:05:06 +01:00