Update config usage in slow tests

This commit is contained in:
Lukas Wirth
2022-04-27 18:25:12 +02:00
parent 3d17261972
commit 9fe1b24736
3 changed files with 12 additions and 6 deletions

View File

@@ -525,6 +525,7 @@ pub struct ClientCommandsConfig {
pub trigger_parameter_hints: bool,
}
#[derive(Debug)]
pub struct ConfigUpdateError {
errors: Vec<(String, serde_json::Error)>,
}
@@ -1442,7 +1443,6 @@ fn get_field<T: DeserializeOwned>(
default: &str,
) -> T {
let default = serde_json::from_str(default).unwrap();
// XXX: check alias first, to work-around the VS Code where it pre-fills the
// defaults instead of sending an empty object.
alias