MarvinJWendt / testza

Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
MIT License
418 stars 21 forks source link

fix: correct file perms on nested snapshot dir #108

Closed jamestelfer closed 2 years ago

jamestelfer commented 2 years ago

When the test name contains a path separator, make sure the directories are created with the correct permissions.

Fixes #107

Depends on #109 to fix the linting check failure.

codecov[bot] commented 2 years ago

Codecov Report

Merging #108 (30a2497) into main (5f89bc5) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage   88.29%   88.29%           
=======================================
  Files          10       10           
  Lines         658      658           
=======================================
  Hits          581      581           
  Misses         40       40           
  Partials       37       37           
Impacted Files Coverage Δ
snapshot.go 83.78% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5f89bc5...30a2497. Read the comment docs.

MarvinJWendt commented 2 years ago

Released in v0.3.3 🚀