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

augment UCommand with #[derive(Debug)] to allow improved test diagnostics

This commit is contained in:
Roy Ivy III 2018-11-21 10:49:12 -06:00
parent c512ae0c52
commit f72fff7b42

View file

@ -447,6 +447,7 @@ impl TestScenario {
/// 2. it tracks arguments provided so that in test cases which may provide variations of an arg in loops /// 2. it tracks arguments provided so that in test cases which may provide variations of an arg in loops
/// the test failure can display the exact call which preceded an assertion failure. /// the test failure can display the exact call which preceded an assertion failure.
/// 3. it provides convenience construction arguments to set the Command working directory and/or clear its environment. /// 3. it provides convenience construction arguments to set the Command working directory and/or clear its environment.
#[derive(Debug)]
pub struct UCommand { pub struct UCommand {
pub raw: Command, pub raw: Command,
comm_string: String, comm_string: String,