Alexander Korolev vor 2 Monaten
Ursprung
Commit
561856462c
1 geänderte Dateien mit 8 neuen und 2 gelöschten Zeilen
  1. 8 2
      src/config/tests.rs

+ 8 - 2
src/config/tests.rs

@@ -385,8 +385,14 @@ shutdown_delay_seconds = 30
     assert!(cfg.before_serve.contains_key("extra"));
     // HA config merges from the source when main has none (power on from
     // other cwds depends on this).
-    assert!(cfg.home_assistant.is_some(), "home_assistant filled from source");
-    assert_eq!(cfg.home_assistant.as_ref().unwrap().url, "http://ha.lan:8123");
+    assert!(
+        cfg.home_assistant.is_some(),
+        "home_assistant filled from source"
+    );
+    assert_eq!(
+        cfg.home_assistant.as_ref().unwrap().url,
+        "http://ha.lan:8123"
+    );
     // A main-config ssh_user is never overridden by a source; same rule
     // for home_assistant.
     let mut cfg2 = tcfg();