fix(render): remove outdated test
This commit is contained in:
parent
44dd54e2e1
commit
93b6c8e75a
|
@ -380,24 +380,4 @@ mod tests {
|
|||
ExtensionResult::Error(_)
|
||||
));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
fn ignore_error() {
|
||||
let extension = ShellExtension::new(&PathBuf::new());
|
||||
|
||||
let param = vec![
|
||||
("cmd".to_string(), Value::String("exit 1".to_string())),
|
||||
("ignore_error".to_string(), Value::Bool(true)),
|
||||
]
|
||||
.into_iter()
|
||||
.collect::<Params>();
|
||||
assert_eq!(
|
||||
extension
|
||||
.calculate(&Default::default(), &Default::default(), ¶m)
|
||||
.into_success()
|
||||
.unwrap(),
|
||||
ExtensionOutput::Single("".to_string())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user