mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-29 22:24:35 +00:00 
			
		
		
		
	Merge branch 'master' of github.com:sharkdp/bat into string-input
This commit is contained in:
		| @@ -615,7 +615,7 @@ fn filename_multiple_ok() { | ||||
|         .arg("--file-name=bar") | ||||
|         .assert() | ||||
|         .success() | ||||
|         .stdout("File: foo\nFile: bar\n") | ||||
|         .stdout("File: foo\n\nFile: bar\n") | ||||
|         .stderr(""); | ||||
| } | ||||
|  | ||||
| @@ -632,6 +632,18 @@ fn filename_multiple_err() { | ||||
|         .failure(); | ||||
| } | ||||
|  | ||||
| #[test] | ||||
| fn header_padding() { | ||||
|     bat() | ||||
|         .arg("--decorations=always") | ||||
|         .arg("--style=header") | ||||
|         .arg("test.txt") | ||||
|         .arg("single-line.txt") | ||||
|         .assert() | ||||
|         .stdout("File: test.txt\nhello world\n\nFile: single-line.txt\nSingle Line\n") | ||||
|         .stderr(""); | ||||
| } | ||||
|  | ||||
| #[cfg(target_os = "linux")] | ||||
| #[test] | ||||
| fn file_with_invalid_utf8_filename() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user