Fix outdated test assertions after changing wrapping behavior

Antonio Scandurra and Nathan Sobo created

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

zed/src/editor/display_map.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

zed/src/editor/display_map.rs 🔗

@@ -611,7 +611,8 @@ mod tests {
             [
                 ("out".to_string(), Some("fn.name")),
                 ("…\n".to_string(), None),
-                ("  fn\n \n".to_string(), Some("mod.body"))
+                ("  \nfn ".to_string(), Some("mod.body")),
+                ("i\n".to_string(), Some("fn.name"))
             ]
         );
     }