1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

split: fix formatting

This commit is contained in:
Daniel Hofstetter 2023-09-13 10:45:38 +02:00
parent d4217c5a12
commit aa7b39ae49
2 changed files with 3 additions and 3 deletions

View file

@ -1293,7 +1293,8 @@ where
settings.suffix_length, settings.suffix_length,
settings.suffix_type, settings.suffix_type,
settings.suffix_start, settings.suffix_start,
).map_err(|e| io::Error::new(ErrorKind::Other, format!("{e}")))?; )
.map_err(|e| io::Error::new(ErrorKind::Other, format!("{e}")))?;
// Create one writer for each chunk. This will create each // Create one writer for each chunk. This will create each
// of the underlying files (if not in `--filter` mode). // of the underlying files (if not in `--filter` mode).

View file

@ -306,8 +306,7 @@ fn test_filter_broken_pipe() {
let name = "filter-big-input"; let name = "filter-big-input";
RandomFile::new(&at, name).add_lines(1024 * 10); RandomFile::new(&at, name).add_lines(1024 * 10);
ucmd ucmd.args(&["--filter=head -c1 > /dev/null", "-n", "r/1", name])
.args(&["--filter=head -c1 > /dev/null", "-n", "r/1", name])
.succeeds(); .succeeds();
} }