crystal-lang / shards

Dependency manager for the Crystal language
Other
765 stars 102 forks source link

Specs: check non hidden files are not pruned #330

Closed bcardiff closed 4 years ago

bcardiff commented 4 years ago

This improves the coverage of the prune specs added when #57 was closed. The hidden files are not removed because the Dir[File.join(Shards.install_path, "*")] will not enumerate it by default. With this PR we are stressing the check that existing files (not directories) in the ./lib folders are kept. And not because they are hidden.