summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/string-lit-2.rs
blob: 6b95e25a052b29ffdd171b46c783595cf608c468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
fn main() -> &'static str {
    let too_many_lines = "Hello";
    let leave_me = "sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss\
                    s
                    jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj";
}

fn issue_1237() {
    let msg = "eedadn\n\
               drvtee\n\
               eandsr\n\
               raavrd\n\
               atevrs\n\
               tsrnev\n\
               sdttsa\n\
               rasrtv\n\
               nssdts\n\
               ntnada\n\
               svetve\n\
               tesnvt\n\
               vntsnd\n\
               vrdear\n\
               dvrsen\n\
               enarar";
}