Skip to content

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

chore(tests): reorder imports and reformat function call\n\nReorder the import of `spawn` to be conditionally compiled under a `cfg` attribute and reformat the `install_memory_host_seams` call to keep lines within the project's style guidelines, with no change in behaviour.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel8213c637a3cf
diff --git a/tests/cwd_jail_e2e.rs b/tests/cwd_jail_e2e.rs
index 2469eedeb4..b514ea60ab 100644
--- a/tests/cwd_jail_e2e.rs
+++ b/tests/cwd_jail_e2e.rs
@@ -19,14 +19,14 @@ use std::fs;
use std::path::PathBuf;
use std::process::{Command, Stdio};
-use openhuman_core::openhuman::sandbox::cwd_jail::{
- default_backend, spawn_with, Jail, JailRegistry, NoopBackend,
-};
#[cfg(any(
all(target_os = "linux", feature = "sandbox-landlock"),
target_os = "macos"
))]
use openhuman_core::openhuman::sandbox::cwd_jail::spawn;
+use openhuman_core::openhuman::sandbox::cwd_jail::{
+ default_backend, spawn_with, Jail, JailRegistry, NoopBackend,
+};
fn unique_tempdir(tag: &str) -> PathBuf {
let p = std::env::temp_dir().join(format!(
diff --git a/tests/memory_fast_retrieve_e2e.rs b/tests/memory_fast_retrieve_e2e.rs
index 733a7cec01..7468f4b6ed 100644
--- a/tests/memory_fast_retrieve_e2e.rs
+++ b/tests/memory_fast_retrieve_e2e.rs
@@ -36,9 +36,9 @@ fn ensure_memory_seams() {
.name("memory-fast-retrieve-e2e-seams".to_string())
.stack_size(8 * 1024 * 1024)
.spawn(|| {
- openhuman_core::openhuman::memory::host_impls::install_memory_host_seams(
- Arc::new(Config::default()),
- );
+ openhuman_core::openhuman::memory::host_impls::install_memory_host_seams(Arc::new(
+ Config::default(),
+ ));
})
.expect("spawn memory retrieval seam installer")
.join()