Browse Source

fix: fix tests

Yujia Qiao 4 năm trước cách đây
mục cha
commit
b3bdd7eb64
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/config.rs

+ 2 - 2
src/config.rs

@@ -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(())
     }
     }