Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(hosting): collapse wrapped toml parse calls onto one line

Steven Enamakel28dc4ecdcf0b
diff --git a/crates/openhuman-core/src/config/schema/hosting_tests.rs b/crates/openhuman-core/src/config/schema/hosting_tests.rs
index 64fdd40c19..2d795a40eb 100644
--- a/crates/openhuman-core/src/config/schema/hosting_tests.rs
+++ b/crates/openhuman-core/src/config/schema/hosting_tests.rs
@@ -35,8 +35,7 @@ fn a_configured_key_and_team_are_reported() {
#[test]
fn the_section_round_trips_through_toml() {
- let config: HostingConfig =
- toml::from_str("api_key = \"token\"\n").expect("parses");
+ let config: HostingConfig = toml::from_str("api_key = \"token\"\n").expect("parses");
assert_eq!(config.provider, "vercel");
assert_eq!(config.api_key, "token");
@@ -44,8 +43,7 @@ fn the_section_round_trips_through_toml() {
#[test]
fn the_team_scope_round_trips_through_toml() {
- let config: HostingConfig =
- toml::from_str("team = \"team_abc\"\n").expect("parses");
+ let config: HostingConfig = toml::from_str("team = \"team_abc\"\n").expect("parses");
assert_eq!(config.team(), Some("team_abc"));
}