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!();
|
panic!();
|
||||||
|
|
||||||
check_propagated_statuses(
|
// check_propagated_statuses(
|
||||||
&snapshot,
|
// &snapshot,
|
||||||
&[
|
// &[
|
||||||
(Path::new("a/b"), Some(GitFileStatus::Added)),
|
// (Path::new("a/b"), Some(GitFileStatus::Added)),
|
||||||
(Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
// (Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
||||||
(Path::new("a/b/c2.txt"), None),
|
// (Path::new("a/b/c2.txt"), None),
|
||||||
(Path::new("a/d"), Some(GitFileStatus::Modified)),
|
// (Path::new("a/d"), Some(GitFileStatus::Modified)),
|
||||||
(Path::new("a/d/e1.txt"), None),
|
// (Path::new("a/d/e1.txt"), None),
|
||||||
(Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
// (Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
||||||
(Path::new("f"), None),
|
// (Path::new("f"), None),
|
||||||
(Path::new("f/no-status.txt"), None),
|
// (Path::new("f/no-status.txt"), None),
|
||||||
(Path::new("g"), Some(GitFileStatus::Conflict)),
|
// (Path::new("g"), Some(GitFileStatus::Conflict)),
|
||||||
],
|
// ],
|
||||||
);
|
// );
|
||||||
|
|
||||||
check_propagated_statuses(
|
// check_propagated_statuses(
|
||||||
&snapshot,
|
// &snapshot,
|
||||||
&[
|
// &[
|
||||||
(Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
// (Path::new("a/b/c1.txt"), Some(GitFileStatus::Added)),
|
||||||
(Path::new("a/b/c2.txt"), None),
|
// (Path::new("a/b/c2.txt"), None),
|
||||||
(Path::new("a/d/e1.txt"), None),
|
// (Path::new("a/d/e1.txt"), None),
|
||||||
(Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
// (Path::new("a/d/e2.txt"), Some(GitFileStatus::Modified)),
|
||||||
(Path::new("f/no-status.txt"), None),
|
// (Path::new("f/no-status.txt"), None),
|
||||||
],
|
// ],
|
||||||
);
|
// );
|
||||||
|
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
fn check_propagated_statuses(
|
fn check_propagated_statuses(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue