test for no-commodity amount with a price
This commit is contained in:
		
							parent
							
								
									055080c5ca
								
							
						
					
					
						commit
						9e28feb516
					
				
							
								
								
									
										12
									
								
								tests/commodityless-amount-with-price.test
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/commodityless-amount-with-price.test
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					# a no-commodity amount with a price should work
 | 
				
			||||||
 | 
					-f - print
 | 
				
			||||||
 | 
					<<<
 | 
				
			||||||
 | 
					2010/1/1 x
 | 
				
			||||||
 | 
					    a  1 @ $2
 | 
				
			||||||
 | 
					    b
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					>>>
 | 
				
			||||||
 | 
					2010/01/01 x
 | 
				
			||||||
 | 
					    a        1 @ $2
 | 
				
			||||||
 | 
					    b           $-2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user