Remove duplicate Logos import from doctests in tests/lib.rs#523
Conversation
CodSpeed Performance ReportMerging #523 will not alter performanceComparing Summary
|
|
Hi @RoyPrinsGH, thanks for catching this! We should probably include doctests within the GitHub workflows. Would you mind editing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #523 +/- ##
==========================================
- Coverage 64.78% 64.67% -0.11%
==========================================
Files 29 29
Lines 1820 1820
==========================================
- Hits 1179 1177 -2
- Misses 641 643 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Actually, the tests are now failing, see logs. This is probably because you ran tests with the wrong configuration... I don't know what's best. |
|
It seems I was too eager -- the tests now failed due to not finding I'll look into it |
|
@jeertmans You guys do run doc-tests (check any other logs, scroll all the way down). What I think is happening is that running I decided to just pull the derive from the existing |
|
I can try to help with this issue. Looks like we'd leverage |
|
Makes sense, thanks for your contribution @RoyPrinsGH! |
While reading through the book's guidelines on contributing, it suggested that I run
cargo test --workspace. This command failed however, due to these doctests importing Logos both fromlogosandlogos_derive.I removed those double imports and now it's all good :)
Before


After