mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-24 15:42:53 +00:00
Fix warning
This commit is contained in:
parent
5f143f689f
commit
9d58c4526d
1 changed files with 24 additions and 24 deletions
|
@ -5409,31 +5409,31 @@ mod tests {
|
|||
|
||||
panic!();
|
||||
|
||||
check_propagated_statuses(
|
||||
&snapshot,
|
||||
&[
|
||||
(Path::new("a/b"), Some(GitFileStatus::Added)),
|
||||
(Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
||||
(Path::new("a/b/c2.txt"), None),
|
||||
(Path::new("a/d"), Some(GitFileStatus::Modified)),
|
||||
(Path::new("a/d/e1.txt"), None),
|
||||
(Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
||||
(Path::new("f"), None),
|
||||
(Path::new("f/no-status.txt"), None),
|
||||
(Path::new("g"), Some(GitFileStatus::Conflict)),
|
||||
],
|
||||
);
|
||||
// check_propagated_statuses(
|
||||
// &snapshot,
|
||||
// &[
|
||||
// (Path::new("a/b"), Some(GitFileStatus::Added)),
|
||||
// (Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
||||
// (Path::new("a/b/c2.txt"), None),
|
||||
// (Path::new("a/d"), Some(GitFileStatus::Modified)),
|
||||
// (Path::new("a/d/e1.txt"), None),
|
||||
// (Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
||||
// (Path::new("f"), None),
|
||||
// (Path::new("f/no-status.txt"), None),
|
||||
// (Path::new("g"), Some(GitFileStatus::Conflict)),
|
||||
// ],
|
||||
// );
|
||||
|
||||
check_propagated_statuses(
|
||||
&snapshot,
|
||||
&[
|
||||
(Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
||||
(Path::new("a/b/c2.txt"), None),
|
||||
(Path::new("a/d/e1.txt"), None),
|
||||
(Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
||||
(Path::new("f/no-status.txt"), None),
|
||||
],
|
||||
);
|
||||
// check_propagated_statuses(
|
||||
// &snapshot,
|
||||
// &[
|
||||
// (Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
||||
// (Path::new("a/b/c2.txt"), None),
|
||||
// (Path::new("a/d/e1.txt"), None),
|
||||
// (Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
||||
// (Path::new("f/no-status.txt"), None),
|
||||
// ],
|
||||
// );
|
||||
|
||||
#[track_caller]
|
||||
fn check_propagated_statuses(
|
||||
|
|
Loading…
Reference in a new issue