chore(fmt): apply cargo fmt to recent LSP changes
Pure rustfmt churn — the anchor-match, source-relative resolution, and config-unwrap commits introduced lines that needed rustfmt reformatting. CI's `cargo fmt --check` job was blocking on this. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -489,7 +489,11 @@ fn wiki_link_resolves_source_relative_first() {
|
||||
LinkSeverity::Warning,
|
||||
true,
|
||||
);
|
||||
assert!(diags.is_empty(), "expected no diagnostics, got: {:?}", diags);
|
||||
assert!(
|
||||
diags.is_empty(),
|
||||
"expected no diagnostics, got: {:?}",
|
||||
diags
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -500,10 +504,7 @@ fn wiki_link_falls_back_to_root_relative() {
|
||||
let root = "/tmp/srcrel2";
|
||||
let idx = build_index(
|
||||
root,
|
||||
&[
|
||||
("index", "[[posts/foo|Foo]]\n"),
|
||||
("posts/foo", "= Foo =\n"),
|
||||
],
|
||||
&[("index", "[[posts/foo|Foo]]\n"), ("posts/foo", "= Foo =\n")],
|
||||
);
|
||||
let src = "[[posts/foo|Foo]]\n";
|
||||
let ast = parse(src);
|
||||
|
||||
Reference in New Issue
Block a user