Skip to content

Add a toString for MapSettings #232

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

Open
dalewking opened this issue May 7, 2025 · 1 comment
Open

Add a toString for MapSettings #232

dalewking opened this issue May 7, 2025 · 1 comment

Comments

@dalewking
Copy link

When trying to do assertions on MapSettings it would be nice to have some form of toString to display the contents when a test fails. Or you could just expose a read-only version of the delegate

@russhwolf
Copy link
Owner

This makes some sense. For now, one workaround would be to manually pass a MutableMap to the MapSettings constructor and hold onto that instance to make assertions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants