Skip to content

test: Use temp_env in tests #39

@ankddev

Description

@ankddev

We need to use temp_env crate in tests instead of env::var because:

  • We have many unsafe code
  • Variables sets globally for Cargo process, which can cause some problems, like crashing test

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions