Skip to content

Conversation

cugu
Copy link
Contributor

@cugu cugu commented Feb 6, 2021

Nice package, thanks!

Go offers a function to test fs.FS implementations: https://tip.golang.org/pkg/testing/fstest/#TestFS. I added a test for this and fixed the revealed issues.

Sorry for not adding an emoji to the commit message 🙈

Copy link
Owner

@nlepage nlepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @cugu

Thanks a lot for your contribution.

I didn't know about testing/fstest! Too bad it isn't even mentioned in io/fs documentation...

I asked for a change in ReadDir's implementation, tell me if it's ok with you.

Otherwise LGTM 👍

Copy link
Owner

@nlepage nlepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@nlepage nlepage merged commit 1bb9e6d into nlepage:main Feb 6, 2021
@cugu cugu deleted the fstest branch February 6, 2021 23:04
@nlepage
Copy link
Owner

nlepage commented Feb 6, 2021

Release this in v1.0.4

@nlepage
Copy link
Owner

nlepage commented Feb 6, 2021

@all-contributors please add @cugu for tests and code

@allcontributors
Copy link
Contributor

@nlepage

I've put up a pull request to add @cugu! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants