uutils / findutils

Rust implementation of findutils
MIT License
280 stars 35 forks source link

find: replace `zip` with nested loops in tests #385

Closed cakebaker closed 1 month ago

cakebaker commented 1 month ago

This PR replaces the use of zip with nested loops because it was mistakenly assumed that zip creates the Cartesian product of two lists.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.52%. Comparing base (70b7b36) to head (6fe2c9c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #385 +/- ## ======================================= Coverage 58.52% 58.52% ======================================= Files 30 30 Lines 3824 3824 Branches 842 842 ======================================= Hits 2238 2238 Misses 1255 1255 Partials 331 331 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.