mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-30 22:54:07 +00:00 
			
		
		
		
	add show_all_tabstops_long integration test
This commit is contained in:
		
				
					committed by
					
						 David Peter
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							16f940c2d3
						
					
				
				
					commit
					67124f8513
				
			| @@ -1240,6 +1240,29 @@ fn show_all_tabstops() { | |||||||
|         ); |         ); | ||||||
| } | } | ||||||
|  |  | ||||||
|  | #[test] | ||||||
|  | fn show_all_tabstops_long() { | ||||||
|  |     bat() | ||||||
|  |         .arg("tabs.txt") | ||||||
|  |         .arg("--show-all") | ||||||
|  |         .arg("--tabs=8") | ||||||
|  |         .arg("--style=plain") | ||||||
|  |         .assert() | ||||||
|  |         .success() | ||||||
|  |         .stdout( | ||||||
|  |             "├──────┤1├────┤2├──┤3├┤4␊ | ||||||
|  | 1├─────┤?␊ | ||||||
|  | 22├────┤?␊ | ||||||
|  | 333├───┤?␊ | ||||||
|  | 4444├──┤?␊ | ||||||
|  | 55555├─┤?␊ | ||||||
|  | 666666├┤?␊ | ||||||
|  | 7777777↹?␊ | ||||||
|  | 88888888├──────┤?␊ | ||||||
|  | ", | ||||||
|  |         ); | ||||||
|  | } | ||||||
|  |  | ||||||
| #[test] | #[test] | ||||||
| fn no_paging_arg() { | fn no_paging_arg() { | ||||||
|     bat() |     bat() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user