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:
parent
c512ae0c52
commit
f72fff7b42
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue