Prettier print for BeEquivalentTo output #1722
-
When I have a Expected DynamicMenuTestHelpers.FixupCaptions(menu.ItemLinks) to be a collection with 4 item(s), but {"Generate Report (DR Objects)", "Generate Report (Non-DR Objects)"}"
"contains 2 item(s) less than"
"{"Schedule Disaster Recovery Backups...", "Run Backup Now", "Generate Report (DR Objects)", "Generate Report (Non-DR Objects)"}. I personally find this difficult to read, mainly because everything is on one line. Is there a way to make this print out "prettier"? Something as simple as one string per line I think might make this more legible. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I agree. Ideally it should be smart enough to see that some of these strings are pretty long and print them on separate lines. Internally we already have a threshold for a human readable string that is set to a max of 8 characters. |
Beta Was this translation helpful? Give feedback.
-
Already did this. See #1726 |
Beta Was this translation helpful? Give feedback.
-
What you can do already: |
Beta Was this translation helpful? Give feedback.
I agree. Ideally it should be smart enough to see that some of these strings are pretty long and print them on separate lines. Internally we already have a threshold for a human readable string that is set to a max of 8 characters.