Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
sudo: false
language: rust
rust:
- 1.22.0 # oldest supported version
- 1.27.0 # oldest supported version
- stable
- beta
- nightly
matrix:
include:
- env: RUSTFMT
rust: 1.27.0 # `stable`: Locking down for consistent behavior
rust: 1.29.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add rustfmt-preview
script:
- cargo fmt -- --write-mode=diff
- cargo fmt -- --check
- env: RUSTFLAGS="-D warnings"
rust: 1.27.0 # `stable`: Locking down for consistent behavior
rust: 1.29.0 # `stable`: Locking down for consistent behavior
install:
script:
- cargo check --tests --all-features
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords = ["filesystem", "test", "assert", "fixture"]

[dependencies]
tempfile = "3.0"
globwalk = "0.4"
globwalk = "0.5"
predicates = "0.9"
predicates-core = "0.9"
predicates-tree = "0.9"
Expand Down
5 changes: 3 additions & 2 deletions src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,10 @@ where
let source = source
.canonicalize()
.chain(errors::FixtureError::new(errors::FixtureKind::Walk))?;
for entry in globwalk::GlobWalker::from_patterns(&source, patterns)
.chain(errors::FixtureError::new(errors::FixtureKind::Walk))?
for entry in globwalk::GlobWalkerBuilder::from_patterns(&source, patterns)
.follow_links(true)
.build()
.chain(errors::FixtureError::new(errors::FixtureKind::Walk))?
{
println!("{:?}", entry);
let entry = entry.chain(errors::FixtureError::new(errors::FixtureKind::Walk))?;
Expand Down