rust/tests/target/string_punctuation.rs

16 lines
654 B
Rust
Raw Normal View History

2017-01-27 08:11:59 +13:00
// rustfmt-format_strings: true
// rustfmt-error_on_line_overflow: false
2017-01-27 08:11:59 +13:00
fn main() {
2017-06-12 16:01:41 +12:00
println!(
"ThisIsAReallyLongStringWithNoSpaces.It_should_prefer_to_break_onpunctuation:\
Likethisssssssssssss"
);
format!("{}__{}__{}ItShouldOnlyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyNoticeSemicolonsPeriodsColonsAndCommasAndResortToMid-CharBreaksAfterPunctuation{}{}",x,y,z,a,b);
2017-06-12 16:01:41 +12:00
println!(
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaalhijalfhiigjapdighjapdigjapdighdapighapdighpaidhg;\
adopgihadoguaadbadgad,qeoihapethae8t0aet8haetadbjtaeg;\
ooeouthaoeutgadlgajduabgoiuadogabudogubaodugbadgadgadga;adoughaoeugbaouea"
);
}