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.

Attempting to debug on ci...

Mikayla Maki5f143f689fb3
diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rs
index d50dc24e674..f9ed2552d4b 100644
--- a/crates/project/src/worktree.rs
+++ b/crates/project/src/worktree.rs
@@ -5407,6 +5407,8 @@ mod tests {
],
);
+ panic!();
+
check_propagated_statuses(
&snapshot,
&[
@@ -5443,11 +5445,12 @@ mod tests {
.map(|(path, _)| snapshot.entry_for_path(path).unwrap().clone())
.collect::<Vec<_>>();
snapshot.propagate_git_statuses(&mut entries);
+ dbg!(&entries);
assert_eq!(
- entries
+ dbg!(entries
.iter()
.map(|e| (e.path.as_ref(), e.git_status))
- .collect::<Vec<_>>(),
+ .collect::<Vec<_>>()),
expected_statuses
);
}