]> git.lizzy.rs Git - rust.git/blob - tests/target/string_punctuation.rs
Tidy up and pass tests
[rust.git] / tests / target / string_punctuation.rs
1 // rustfmt-format_strings: true
2 // rustfmt-error_on_line_overflow: false
3
4 fn main() {
5     println!(
6         "ThisIsAReallyLongStringWithNoSpaces.It_should_prefer_to_break_onpunctuation:\
7          Likethisssssssssssss"
8     );
9     format!("{}__{}__{}ItShouldOnlyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyNoticeSemicolonsPeriodsColonsAndCommasAndResortToMid-CharBreaksAfterPunctuation{}{}",x,y,z,a,b);
10     println!(
11         "aaaaaaaaaaaaaaaaaaaaaaaaaaaaalhijalfhiigjapdighjapdigjapdighdapighapdighpaidhg;\
12          adopgihadoguaadbadgad,qeoihapethae8t0aet8haetadbjtaeg;\
13          ooeouthaoeutgadlgajduabgoiuadogabudogubaodugbadgadgadga;adoughaoeugbaouea"
14     );
15 }