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 392e394 commit 63fdee4Copy full SHA for 63fdee4
1 file changed
tests/json.rs
@@ -106,13 +106,12 @@ fn run_json_input(tree: SampleTree, extra_args: &[&str]) -> String {
106
};
107
let json = serde_json::to_string_pretty(&json_data).expect("convert sample tree to JSON");
108
let workspace = Temp::new_dir().expect("create temporary directory");
109
- let command = Command::new(PDU)
+ let mut child = Command::new(PDU)
110
.with_current_dir(&workspace)
111
.with_arg("--json-input")
112
.with_arg("--bytes-format=metric")
113
.with_arg("--total-width=100")
114
- .with_args(extra_args);
115
- let mut child = command
+ .with_args(extra_args)
116
.with_stdin(Stdio::piped())
117
.with_stdout(Stdio::piped())
118
.with_stderr(Stdio::piped())
0 commit comments