Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

andreeaflorescu
Copy link
Contributor

Pull Request Overview

This helps mostly with testing for doing assert_eq instead of comparing using a match on values.
Fixes: #3670

Testing Strategy

I ran the unit test. I've updated the documentation example of read_as_enum to use assert_eq directly rather than using a match to compare the values, thus validating that Debug is properly implemented.

TODO or Help Wanted

N/A

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

This helps mostly with testing for doing assert_eq instead of
comparing using a match on values.

Signed-off-by: Andreea Florescu <[email protected]>
@github-actions github-actions bot added the tock-libraries This affects libraries supported by the Tock project label Sep 22, 2023
@ppannuto ppannuto added the last-call Final review period for a pull request. label Sep 22, 2023
@bradjc bradjc added this pull request to the merge queue Sep 25, 2023
Merged via the queue into tock:master with commit b66dfd1 Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
last-call Final review period for a pull request. tock-libraries This affects libraries supported by the Tock project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Derive Debug on tock_registers Value
5 participants