fix: fix tests

This commit is contained in:
Yujia Qiao 2021-12-18 16:21:15 +08:00
parent dcef7f2d0f
commit b3bdd7eb64
No known key found for this signature in database
GPG Key ID: DC129173B148701B
1 changed files with 2 additions and 2 deletions

View File

@ -177,14 +177,14 @@ mod tests {
#[test]
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)?;
Ok(())
}
#[test]
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)?;
Ok(())
}