Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print std::byte as hex in unit tests #8

Open
kammce opened this issue Aug 14, 2022 · 0 comments
Open

Print std::byte as hex in unit tests #8

kammce opened this issue Aug 14, 2022 · 0 comments
Labels
✨ enhancement New feature or request

Comments

@kammce
Copy link
Contributor

kammce commented Aug 14, 2022

If you compare an array or span of hal::byte, the output attempts to print these as characters which is not desirable. What is desired is probably hexadecimal and characters for each element in the array/span.

@kammce kammce transferred this issue from libhal-google/libhal Dec 11, 2022
@kammce kammce changed the title Add better logging for ostreams in unit testing Print std::byte as hex in unit tests Dec 11, 2022
@kammce kammce added the ✨ enhancement New feature or request label Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant