Skip to content

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

test(shell): reformat platform test assertions

Steven Enamakeld464ec7da3ef
diff --git a/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs b/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs
index 8a029c3c64..30837cd71a 100644
--- a/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs
@@ -57,7 +57,9 @@ fn every_description_keeps_the_stdout_only_warning() {
Arc::new(CmdRuntime),
test_audit(),
);
- assert!(posix.description().contains("Only stdout/stderr comes back"));
+ assert!(posix
+ .description()
+ .contains("Only stdout/stderr comes back"));
assert!(cmd.description().contains("Only stdout/stderr comes back"));
}
@@ -217,10 +219,12 @@ fn the_tool_describes_the_shell_its_runtime_spawns() {
test_audit(),
);
assert!(cmd_tool.description().contains("cmd.exe"));
- assert!(cmd_tool.parameters_schema()["properties"]["command"]["description"]
- .as_str()
- .unwrap()
- .contains("cmd.exe"));
+ assert!(
+ cmd_tool.parameters_schema()["properties"]["command"]["description"]
+ .as_str()
+ .unwrap()
+ .contains("cmd.exe")
+ );
}
#[test]