Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
update test outline for prompt tests for new cursor span
KCaverly650a160f04ca
diff --git a/crates/assistant/src/prompts.rs b/crates/assistant/src/prompts.rsindex 04cf5d089be..ee58090d04d 100644--- a/crates/assistant/src/prompts.rs+++ b/crates/assistant/src/prompts.rs@@ -260,7 +260,7 @@ pub(crate) mod tests {outline.as_deref(),Some(indoc! {"struct X- <||>a: usize+ <|START|>a: usizebimpl Xfn new@@ -282,7 +282,7 @@ pub(crate) mod tests {bimpl Xfn new() -> Self {- let <|a |>= 1;+ let <|START|a |END|>= 1;let b = 2;Self { a, b }}@@ -303,7 +303,7 @@ pub(crate) mod tests {abimpl X- <||>+ <|START|>fn newfn afn b@@ -323,12 +323,12 @@ pub(crate) mod tests {bimpl Xfn new() -> Self {- let <|a = 1;+ let <|START|a = 1;let b = 2;Self { a, b }}- pub f|>n a(&self, param: bool) -> usize {+ pub f|END|>n a(&self, param: bool) -> usize {self.a}fn b@@ -346,14 +346,14 @@ pub(crate) mod tests {struct Xab- impl X<| {+ impl X<|START| {fn new() -> Self {let a = 1;let b = 2;Self { a, b }}- |>+ |END|>fn afn b"})@@ -374,7 +374,7 @@ pub(crate) mod tests {fn newfn apub fn b(&self) -> usize {- <||>self.b+ <|START|>self.b}"}));