Do not allow defaults for Mode and Config
They do not have sensible defaults, and it is crucial that we get them right.
This commit is contained in:
parent
832b6273bd
commit
b4dfd51bac
1 changed files with 1 additions and 7 deletions
|
|
@ -34,12 +34,6 @@ string_enum! {
|
|||
}
|
||||
}
|
||||
|
||||
impl Default for Mode {
|
||||
fn default() -> Self {
|
||||
Mode::Ui
|
||||
}
|
||||
}
|
||||
|
||||
impl Mode {
|
||||
pub fn aux_dir_disambiguator(self) -> &'static str {
|
||||
// Pretty-printing tests could run concurrently, and if they do,
|
||||
|
|
@ -151,7 +145,7 @@ pub enum Sanitizer {
|
|||
///
|
||||
/// FIXME: audit these options to make sure we are not hashing less than necessary for build stamp
|
||||
/// (for changed test detection).
|
||||
#[derive(Debug, Default, Clone)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Config {
|
||||
/// Some test [`Mode`]s support [snapshot testing], where a *reference snapshot* of outputs (of
|
||||
/// `stdout`, `stderr`, or other form of artifacts) can be compared to the *actual output*.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue