|
@@ -177,14 +177,14 @@ mod tests {
|
|
|
|
|
|
|
|
#[test]
|
|
#[test]
|
|
|
fn test_mimic_client_config() -> Result<()> {
|
|
fn test_mimic_client_config() -> Result<()> {
|
|
|
- let s = fs::read_to_string("./example/mimic/client.toml").unwrap();
|
|
|
|
|
|
|
+ let s = fs::read_to_string("./example/minimal/client.toml").unwrap();
|
|
|
Config::from_str(&s)?;
|
|
Config::from_str(&s)?;
|
|
|
Ok(())
|
|
Ok(())
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
#[test]
|
|
|
fn test_mimic_server_config() -> Result<()> {
|
|
fn test_mimic_server_config() -> Result<()> {
|
|
|
- let s = fs::read_to_string("./example/mimic/server.toml").unwrap();
|
|
|
|
|
|
|
+ let s = fs::read_to_string("./example/minimal/server.toml").unwrap();
|
|
|
Config::from_str(&s)?;
|
|
Config::from_str(&s)?;
|
|
|
Ok(())
|
|
Ok(())
|
|
|
}
|
|
}
|