mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-10 01:07:45 +08:00
clippy::needless_raw_string_hashes
This commit is contained in:
parent
67d2027162
commit
68e18d78dd
@ -278,10 +278,10 @@ mod test {
|
|||||||
fn test_ddl() -> Result<()> {
|
fn test_ddl() -> Result<()> {
|
||||||
let db = Connection::open_in_memory()?;
|
let db = Connection::open_in_memory()?;
|
||||||
db.execute_batch(
|
db.execute_batch(
|
||||||
r#"
|
r"
|
||||||
CREATE TABLE foo (x INT);
|
CREATE TABLE foo (x INT);
|
||||||
INSERT INTO foo VALUES (1);
|
INSERT INTO foo VALUES (1);
|
||||||
"#,
|
",
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
let sql = "SELECT * FROM foo";
|
let sql = "SELECT * FROM foo";
|
||||||
@ -292,10 +292,10 @@ mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
db.execute_batch(
|
db.execute_batch(
|
||||||
r#"
|
r"
|
||||||
ALTER TABLE foo ADD COLUMN y INT;
|
ALTER TABLE foo ADD COLUMN y INT;
|
||||||
UPDATE foo SET y = 2;
|
UPDATE foo SET y = 2;
|
||||||
"#,
|
",
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user