From 47867c0a973790135ecd94f72b658c8f1cac1079 Mon Sep 17 00:00:00 2001 From: Kristijan Sedlak Date: Fri, 30 Sep 2022 20:53:34 +0200 Subject: [PATCH] Fix fmt requirements --- src/session.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/session.rs b/src/session.rs index 8b55bff..0a94829 100644 --- a/src/session.rs +++ b/src/session.rs @@ -805,13 +805,10 @@ mod test { fn one_changeset_update() -> Result { let db = Connection::open_in_memory()?; - db.execute_batch(" - CREATE TABLE foo( - t TEXT PRIMARY KEY NOT NULL, - i INTEGER NOT NULL DEFAULT 0 - ); - INSERT INTO foo (t) VALUES ('bar'); - ")?; + db.execute_batch( + "CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL, i INTEGER NOT NULL DEFAULT 0);", + )?; + db.execute_batch("INSERT INTO foo (t) VALUES ('bar');")?; let mut session = Session::new(&db)?; session.attach(None)?;