Add globs to test path names

This adds the ability for some test functions to use a glob pattern to
match a single file. This will be helpful when testing hash-files
support.
This commit is contained in:
Eric Huss
2025-08-26 15:44:01 -07:00
parent 321a76bd27
commit d071d127ef
3 changed files with 39 additions and 6 deletions

7
Cargo.lock generated
View File

@@ -748,6 +748,12 @@ version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
[[package]]
name = "glob"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
[[package]]
name = "globset"
version = "0.4.16"
@@ -1292,6 +1298,7 @@ dependencies = [
"clap_complete",
"env_logger",
"futures-util",
"glob",
"ignore",
"log",
"mdbook-core",