You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the file under tests does a afero.ReadFile(fs, configPath), the call returns without an error and an empty result instead of failing on the fact that the configPath is a directory.
The same code works as expected on osfs
The text was updated successfully, but these errors were encountered:
When you have a test doing something like this:
and the file under tests does a
afero.ReadFile(fs, configPath)
, the call returns without an error and an empty result instead of failing on the fact that the configPath is a directory.The same code works as expected on
osfs
The text was updated successfully, but these errors were encountered: