mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Merge pull request #5899 from cakebaker/bump_wild
Bump wild from 2.2.0 to 2.2.1
This commit is contained in:
commit
247306b7c9
2 changed files with 15 additions and 2 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -3329,9 +3329,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "wild"
|
||||
version = "2.2.0"
|
||||
version = "2.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "10d01931a94d5a115a53f95292f51d316856b68a035618eb831bbba593a30b67"
|
||||
checksum = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1"
|
||||
dependencies = [
|
||||
"glob",
|
||||
]
|
||||
|
|
|
@ -226,6 +226,19 @@ fn test_rm_directory_without_flag() {
|
|||
.stderr_contains(&format!("cannot remove '{dir}': Is a directory"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(windows)]
|
||||
// https://github.com/uutils/coreutils/issues/3200
|
||||
fn test_rm_directory_with_trailing_backslash() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
let dir = "dir";
|
||||
|
||||
at.mkdir(dir);
|
||||
|
||||
ucmd.arg(".\\dir\\").arg("-rf").succeeds();
|
||||
assert!(!at.dir_exists(dir));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_rm_verbose() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue