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

Improve error comparision in test. #489

Open
zie1ony opened this issue Jun 13, 2024 · 0 comments
Open

Improve error comparision in test. #489

zie1ony opened this issue Jun 13, 2024 · 0 comments

Comments

@zie1ony
Copy link
Contributor

zie1ony commented Jun 13, 2024

Make it better to compare errors like:

assert_eq!(result.unwrap_err(), AccessControlError::MissingRole.into());

^ This displays only numbers.

@github-project-automation github-project-automation bot moved this to 🆕 Discuss in ⚔️Tavern 🐉 Jun 13, 2024
@zie1ony zie1ony moved this from 🆕 Discuss to 🔖 Ready in ⚔️Tavern 🐉 Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant