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

Update libcnb-test assertion macros to match Rust 1.73+ style #694

Open
edmorley opened this issue Oct 5, 2023 · 0 comments
Open

Update libcnb-test assertion macros to match Rust 1.73+ style #694

edmorley opened this issue Oct 5, 2023 · 0 comments
Labels
enhancement New feature or request libcnb-test

Comments

@edmorley
Copy link
Member

edmorley commented Oct 5, 2023

In Rust 1.73 the style of some of the panic and assertion messages was improved:
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html#cleaner-panic-messages

libcnb-test's own macros were based around the existing styles, so we should update ours accordingly.

https://github.com/heroku/libcnb.rs/blob/main/libcnb-test/src/macros.rs

@edmorley edmorley added enhancement New feature or request libcnb-test labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request libcnb-test
Projects
None yet
Development

No branches or pull requests

1 participant