pub struct CompatCase {
pub name: &'static str,
pub input: &'static str,
pub expected_status: Option<i32>,
pub expected_stdout: Option<&'static str>,
pub compare_with_oracle: bool,
}Expand description
A single compatibility test case.
Fields§
§name: &'static strDescriptive name for the test case.
input: &'static strShell input to execute.
expected_status: Option<i32>Expected exit code (None = don’t check).
expected_stdout: Option<&'static str>Expected stdout content (None = don’t check).
compare_with_oracle: boolWhether to compare against reference shells.
Trait Implementations§
Source§impl Clone for CompatCase
impl Clone for CompatCase
Auto Trait Implementations§
impl Forget for CompatCase
impl Freeze for CompatCase
impl Move for CompatCase
impl RefUnwindSafe for CompatCase
impl Send for CompatCase
impl Sync for CompatCase
impl Unpin for CompatCase
impl UnsafeUnpin for CompatCase
impl UnwindSafe for CompatCase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more