mirror of
				https://github.com/flynx/object.js.git
				synced 2025-10-30 19:10:11 +00:00 
			
		
		
		
	more test cases... still an uncaught bug present
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									1f1df751c0
								
							
						
					
					
						commit
						09755150f9
					
				
							
								
								
									
										19
									
								
								test.js
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								test.js
									
									
									
									
									
								
							| @ -724,11 +724,30 @@ var cases = test.Cases({ | |||||||
| 					b | 					b | ||||||
| 				c`, 
 | 				c`, 
 | ||||||
| 			all: `a\n    b\nc` }, | 			all: `a\n    b\nc` }, | ||||||
|  | 		{ input: `a
 | ||||||
|  | 					b | ||||||
|  | 					b | ||||||
|  | 					b | ||||||
|  | 				c`, 
 | ||||||
|  | 			all: `a\n    b\n    b\n    b\nc` }, | ||||||
|  | 		{ input: `a
 | ||||||
|  | 					b | ||||||
|  | 						b | ||||||
|  | 					b | ||||||
|  | 				c`, 
 | ||||||
|  | 			all: `a\n    b\n        b\n    b\nc` }, | ||||||
| 		{ input: ` | 		{ input: ` | ||||||
| 				a | 				a | ||||||
| 					b | 					b | ||||||
| 				c`, 
 | 				c`, 
 | ||||||
| 			all: `a\n    b\nc` }, | 			all: `a\n    b\nc` }, | ||||||
|  | 		{ input: `a
 | ||||||
|  | 					b | ||||||
|  | 				c | ||||||
|  | 				d`, 
 | ||||||
|  | 			text: `a\n    b\nc\nd`, | ||||||
|  | 			// XXX not sure about this...
 | ||||||
|  | 			doc: `a\n        b\n    c\n    d` }, | ||||||
| 	], | 	], | ||||||
| 	text: function(assert){ | 	text: function(assert){ | ||||||
| 		this.text_cases | 		this.text_cases | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user