mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
split: fix formatting
This commit is contained in:
parent
d4217c5a12
commit
aa7b39ae49
2 changed files with 3 additions and 3 deletions
|
@ -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).
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue