mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tests ~ fix clippy complaint (clippy::bool_assert_comparision)
This commit is contained in:
parent
9cdfa06f3a
commit
5553416b87
1 changed files with 4 additions and 5 deletions
|
@ -187,11 +187,10 @@ fn test_change_directory() {
|
||||||
.arg(&temporary_path)
|
.arg(&temporary_path)
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_move_str();
|
.stdout_move_str();
|
||||||
assert_eq!(
|
|
||||||
out.lines()
|
assert!(!out
|
||||||
.any(|line| line.ends_with(temporary_path.file_name().unwrap().to_str().unwrap())),
|
.lines()
|
||||||
false
|
.any(|line| line.ends_with(temporary_path.file_name().unwrap().to_str().unwrap())));
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue