Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Unbork markdown parse test by making links match

Juliad23bb3b05da8
diff --git a/crates/editor/src/hover_popover.rs b/crates/editor/src/hover_popover.rs
index 00a307df68a..5b3985edf93 100644
--- a/crates/editor/src/hover_popover.rs
+++ b/crates/editor/src/hover_popover.rs
@@ -911,7 +911,7 @@ mod tests {
// Links
Row {
blocks: vec![HoverBlock {
- text: "one [two](the-url) three".to_string(),
+ text: "one [two](https://the-url) three".to_string(),
kind: HoverBlockKind::Markdown,
}],
expected_marked_text: "one «two» three".to_string(),
@@ -932,7 +932,7 @@ mod tests {
- a
- b
* two
- - [c](the-url)
+ - [c](https://the-url)
- d"
.unindent(),
kind: HoverBlockKind::Markdown,