Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

style(cli): rustfmt assertion wrapping in read-page tests

Vinícius DS Andradeef08fe79b6a3
diff --git a/crates/ai-memory-cli/src/commands/read_page.rs b/crates/ai-memory-cli/src/commands/read_page.rs
index 63894fd5..3b156d6e 100644
--- a/crates/ai-memory-cli/src/commands/read_page.rs
+++ b/crates/ai-memory-cli/src/commands/read_page.rs
@@ -223,9 +223,7 @@ mod tests {
.await
.unwrap_err();
assert!(
- error
- .to_string()
- .contains("search query was passed empty"),
+ error.to_string().contains("search query was passed empty"),
"unexpected error: {error}"
);
}