Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Allow dbg! macro in tests #7197

Merged
merged 1 commit into from
May 8, 2023
Merged

Allow dbg! macro in tests #7197

merged 1 commit into from
May 8, 2023

Conversation

ggwpez
Copy link
Member

@ggwpez ggwpez commented May 8, 2023

Preparation for the monorepo:
There is a deny(clippy::dbg_macro) in the crate root, so the Clippy fails over there since tests use dbg!.
But dbg! in tests is fine IMHO.

I cannot reproduce it locally, even on the the same version though 🤷‍♂️

cc @alvicsam

There is a deny(clippy::dbg_macro) in the crate root, so newer
Clippy fails here since tests use dbg.
But dbg in tests are fine IMHO.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez ggwpez added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels May 8, 2023
@ggwpez ggwpez changed the title Tests can use dbg! macro Allow dbg! macro in tests May 8, 2023
@ggwpez ggwpez self-assigned this May 8, 2023
@ggwpez
Copy link
Member Author

ggwpez commented May 8, 2023

bot merge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants