mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-30 22:54:07 +00:00 
			
		
		
		
	Avoid empty line in snapshot
This commit is contained in:
		
				
					committed by
					
						 David Peter
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							01984e1d02
						
					
				
				
					commit
					76e34b29ec
				
			| @@ -1,4 +1,3 @@ | ||||
|  | ||||
| 	1	2	3	4 | ||||
| 1	? | ||||
| 22	? | ||||
|   | ||||
| @@ -105,17 +105,15 @@ fn tabs_numbers() { | ||||
|         .arg("--decorations=always") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout(" | ||||
|    1 | ||||
|    2     1   2   3   4 | ||||
|    3 1   ? | ||||
|    4 22  ? | ||||
|    5 333 ? | ||||
|    6 4444    ? | ||||
|    7 55555   ? | ||||
|    8 666666  ? | ||||
|    9 7777777 ? | ||||
|   10 88888888    ? | ||||
|         .stdout("   1     1   2   3   4 | ||||
|    2 1   ? | ||||
|    3 22  ? | ||||
|    4 333 ? | ||||
|    5 4444    ? | ||||
|    6 55555   ? | ||||
|    7 666666  ? | ||||
|    8 7777777 ? | ||||
|    9 88888888    ? | ||||
| "); | ||||
| } | ||||
|  | ||||
| @@ -128,8 +126,7 @@ fn tabs_passthrough_wrapped() { | ||||
|         .arg("--decorations=always") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout(" | ||||
| 	1	2	3	4 | ||||
|         .stdout("	1	2	3	4 | ||||
| 1	? | ||||
| 22	? | ||||
| 333	? | ||||
| @@ -150,8 +147,7 @@ fn tabs_4_wrapped() { | ||||
|         .arg("--decorations=always") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout(" | ||||
|     1   2   3   4 | ||||
|         .stdout("    1   2   3   4 | ||||
| 1   ? | ||||
| 22  ? | ||||
| 333 ? | ||||
| @@ -172,8 +168,7 @@ fn tabs_8_wrapped() { | ||||
|         .arg("--decorations=always") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout(" | ||||
|         1       2       3       4 | ||||
|         .stdout("        1       2       3       4 | ||||
| 1       ? | ||||
| 22      ? | ||||
| 333     ? | ||||
| @@ -194,8 +189,7 @@ fn tabs_passthrough() { | ||||
|         .arg("--decorations=always") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout(" | ||||
| 	1	2	3	4 | ||||
|         .stdout("	1	2	3	4 | ||||
| 1	? | ||||
| 22	? | ||||
| 333	? | ||||
| @@ -216,8 +210,7 @@ fn tabs_4() { | ||||
|         .arg("--decorations=always") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout(" | ||||
|     1   2   3   4 | ||||
|         .stdout("    1   2   3   4 | ||||
| 1   ? | ||||
| 22  ? | ||||
| 333 ? | ||||
| @@ -238,8 +231,7 @@ fn tabs_8() { | ||||
|         .arg("--decorations=always") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout(" | ||||
|         1       2       3       4 | ||||
|         .stdout("        1       2       3       4 | ||||
| 1       ? | ||||
| 22      ? | ||||
| 333     ? | ||||
|   | ||||
		Reference in New Issue
	
	Block a user