Conversation
Codecov Report
@@ Coverage Diff @@
## master #61 +/- ##
==========================================
- Coverage 86.77% 81.71% -5.07%
==========================================
Files 7 7
Lines 242 257 +15
==========================================
Hits 210 210
- Misses 32 47 +15
Continue to review full report at Codecov.
|
| @@ -0,0 +1,16 @@ | |||
| error: proc-macro derive panicked | |||
There was a problem hiding this comment.
Was this file added intentionally? I can't see a place that it is used.
There was a problem hiding this comment.
These stderr files are generated for the tests that use trybuild. It compares this to the stderr from compiling the associated rs file: https://github.com/dtolnay/trybuild#workflow
edit: This style of test is also used in the Rust project itself!
https://github.com/rust-lang/rust/tree/master/src/test/ui
This PR adds an alternative macro,
dotenv_or_default, which will provide a default value if the environment variable does not exist.Example: