Skip to content

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

test(channels): simplify debug output in debounce test

Steven Enamakel761605e578af
diff --git a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs b/crates/openhuman-core/src/channels/tests/runtime_debounce.rs
index 8944d4077d..ef75c61486 100644
--- a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs
+++ b/crates/openhuman-core/src/channels/tests/runtime_debounce.rs
@@ -350,7 +350,7 @@ async fn a_command_arriving_inside_the_window_runs_as_its_own_turn_after_the_tex
// A slash command never merges: the buffered text and the command are two
// turns, and the text (received first) is dispatched before the command.
- eprintln!("SENT {:?}", _channel.sent_messages.lock().await.iter().map(|m| m.content.clone()).collect::<Vec<_>>());
+ eprintln!("SENT {:?}", _channel.sent_messages.lock().await.iter().cloned().collect::<Vec<_>>());
assert_eq!(turns.count(), 2);
let first = turns.user(0);
let second = turns.user(1);