In tests, what do others think about adding dbg!
. Idea being provided additional info when tests fail.
#3487
Ben-PH
started this conversation in
Code Style
Replies: 1 comment
-
We don't have a coding style guide for now we only match clippy and rustfmt maybe we could add one and this could be one of the rules but it's a more bigger project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
e.g. add to a code style guide something like this:
The context I was working in that gave me the idea to raise this discussion can be found in #3846 . Having the dbg! might have made understanding the source of the problems easier to grasp.
Beta Was this translation helpful? Give feedback.
All reactions