Skip to content

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

test(e2e): assert module source directory path correctly

Steven Enamakelc69f37cb3d2b
diff --git a/tests/native_channel_session_restart_e2e.rs b/tests/native_channel_session_restart_e2e.rs
index a36dc4bd22..2a2a2221c2 100644
--- a/tests/native_channel_session_restart_e2e.rs
+++ b/tests/native_channel_session_restart_e2e.rs
@@ -471,7 +471,9 @@ async fn native_telegram_session_resumes_after_the_core_process_restarts() {
.map(std::path::PathBuf::from)
.expect("build TinyChannels and set OPENHUMAN_TEST_MODULE_SOURCE_DIR");
assert!(
- module_source_dir.join("tinychannels/modules.toml").is_file(),
+ module_source_dir
+ .join("tinychannels/modules.toml")
+ .is_file(),
"compiled TinyChannels source descriptor is missing from {}",
module_source_dir.display()
);