summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/format_strings/issue-687.rs
blob: 21d292f9eb98afd696fb9206fa31c9ab6641ba15 (plain)
1
2
3
4
5
6
7
8
9
10
// rustfmt-format_strings: true

fn foo() -> &'static str {
    let sql = "ATTACH DATABASE ':memory:' AS my_attached;
               BEGIN;
               CREATE TABLE my_attached.foo(x INTEGER);
               INSERT INTO my_attached.foo VALUES(42);
               END;";
    sql
}