Skip to content

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

Rust

style: rustfmt the web wikilink anchor assertions

Vinícius DS Andrade6eeadea380a4
diff --git a/crates/ai-memory-web/src/markdown.rs b/crates/ai-memory-web/src/markdown.rs
index e6ef1c73..437aecc0 100644
--- a/crates/ai-memory-web/src/markdown.rs
+++ b/crates/ai-memory-web/src/markdown.rs
@@ -639,7 +639,9 @@ mod tests {
"scratch",
);
assert!(
- html.contains(r#"href="w/default/scratch/p/notes/foo.md#section-1">notes/foo#section-1</a>"#),
+ html.contains(
+ r#"href="w/default/scratch/p/notes/foo.md#section-1">notes/foo#section-1</a>"#
+ ),
"bare anchor: {html}"
);
assert!(
@@ -653,7 +655,9 @@ mod tests {
"scratch",
);
assert!(
- cross.contains(r#"href="w/default/otherproj/p/notes/x.md#heading">otherproj:notes/x#heading</a>"#),
+ cross.contains(
+ r#"href="w/default/otherproj/p/notes/x.md#heading">otherproj:notes/x#heading</a>"#
+ ),
"cross-project anchor: {cross}"
);
assert!(