We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5bad0 commit ddd221fCopy full SHA for ddd221f
1 file changed
tests/one_file_system.rs
@@ -267,13 +267,7 @@ fn cross_device_excludes_mount() {
267
.with_stdin(Stdio::null())
268
.with_stdout(Stdio::piped())
269
.with_stderr(Stdio::piped())
270
- .pipe(|command| {
271
- if one_file_system {
272
- command.with_arg("--one-file-system")
273
- } else {
274
- command
275
- }
276
- })
+ .with_args(one_file_system.then_some("--one-file-system"))
277
.with_arg(&workspace)
278
.output()
279
.expect("run pdu")
0 commit comments