Add integration tests running bat with empty input files.
tests/examples/empty.txtnew file
No changes to the content.
tests/integration_tests.rs+52
@@ -76,6 +76,58 @@ fn concatenate_stdin() {
76 .stdout("hello world\nstdin\nhello world\n");
76 .stdout("hello world\nstdin\nhello world\n");
80+fn concatenate_empty_first() {
86+ .stdout("hello world\n");
90+fn concatenate_empty_last() {
96+ .stdout("hello world\n");
100+fn concatenate_empty_both() {
110+fn concatenate_empty_between() {
117+ .stdout("hello world\nhello world\n");
121+fn concatenate_empty_first_and_last() {
128+ .stdout("hello world\n");
80fn line_numbers() {
132fn line_numbers() {