Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mount: trivial test nitpicks #108

Merged
merged 3 commits into from Mar 8, 2022
Merged

mount: trivial test nitpicks #108

merged 3 commits into from Mar 8, 2022

Conversation

kolyshkin
Copy link
Collaborator

  • use t.TempDir
  • use os.WriteFile instead of ioutil.WriteFile
  • remove createFile

... instead of using ioutil.TempDir or creating test directories manually.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
... instead of ioutil.WriteFile.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
It's a one liner anyway, and other tests create files directly.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@tianon tianon merged commit 0335593 into moby:main Mar 8, 2022
@tianon
Copy link
Member

tianon commented Mar 8, 2022

(This is really trivial -- hopefully none of the other folks with merge access on this repo get mad at me for merging it. 😄)

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.

None yet

3 participants