LineBreaks in formatting
See original GitHub issueI’ve noticed the useLineBreaks
parameter in formatters.
How can i write an assertion that tells formatters to use line breaks? I couldn’t find this in the docs, is there something like
x.Should().BeEquivalentTo(y, ??? f => f.UseLineBreaks())
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Line and page breaks
Inside the text box, right-click, and then select Paragraph. · Select the Line and Page Breaks tab. · Under Textbox options, in the...
Read more >Formatting Line Breaks
A line break starts formatted text at a new line. Line breaks are formatted with the .BREAK command. An alternative method of breaking...
Read more >Line breaks in a Word document
On the Layout tab, in the Page Setup group, click Breaks, and then click Text Wrapping: Line Breaks in Word 365 · Press...
Read more >The Dos and Don'ts of Adding an HTML Line Break
To do a line break in HTML, use the <br> tag. Simply place the tag wherever you want to force a line break....
Read more >Add Line Breaks
This free online tool will add line breaks to any broken text you have. Scrunched-up text will instantly become more readable using this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe I am not making myself clear, I am just interested on making the output more readable.
This assertion:
Prints something like:
But it is not very readable when the objects in the collection are complex and have long
ToString
outputs. So I was hoping I could get it formatted likeClosed due to inactivity, please re-open if you have more to add.