Skip to content

todo: tidy use of temporary directories and environment variables in tests #2809

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

Open
dkegel-fastly opened this issue Apr 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dkegel-fastly
Copy link
Contributor

upstream tidied up its use of temporary directories (see e.g. golang/go#45182 ),
and now that we support testing.TempDir(), tinygo should, too.

Likewise, it tidied up its use of temporary environment variables (see e.g. golang/go#41260 ), and tinygo will probably want to add support for testing.TB.Setenv() sometime.

@dkegel-fastly dkegel-fastly added the enhancement New feature or request label Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant