summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/format_strings/issue-2833.rs
blob: 70483532528c405bea0d4d590a4135bc39d1fd3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-format_strings: true
// rustfmt-max_width: 80

fn test1() {
    let expected = "\
but Doctor Watson has to have it taken out for him and dusted,
";
}

fn test2() {
    let expected = "\
[Omitted long matching line]
but Doctor Watson has to have it taken out for him and dusted,
";
}