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

Defensive traits: Ensure doc tests are also working without debug_assertions #12952

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Dec 16, 2022

Closes: #12940

@bkchr bkchr 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. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Dec 16, 2022
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Copy link
Member

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there were some more tests, fixed now.

@bkchr bkchr merged commit 0798d52 into master Dec 16, 2022
@bkchr bkchr deleted the bkchr-defensive-traits-fixes branch December 16, 2022 18:52
ltfschoen pushed a commit to ltfschoen/substrate that referenced this pull request Feb 22, 2023
…sertions` (paritytech#12952)

* Defensive traits: Ensure doc tests are also working without `debug_assertions`

Closes: paritytech#12940

* Only run 'panics' tests if they will panic

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
…sertions` (paritytech#12952)

* Defensive traits: Ensure doc tests are also working without `debug_assertions`

Closes: paritytech#12940

* Only run 'panics' tests if they will panic

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
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. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DefensiveMin/DefensiveMax doc tests are failing
3 participants