From 7478bc854bf18caa34cdcabb9891771c14e01f37 Mon Sep 17 00:00:00 2001 From: Tom Richards Date: Thu, 14 Sep 2017 11:38:14 -0400 Subject: [PATCH] Add failing test for multi-step --- spec/db_spec.cr | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/db_spec.cr b/spec/db_spec.cr index 658525c..ff508f6 100644 --- a/spec/db_spec.cr +++ b/spec/db_spec.cr @@ -119,4 +119,12 @@ DB::DriverSpecs(DB::Any).run do end end end + + it "handles single-step pragma statements" do |db| + db.exec %(PRAGMA synchronous = OFF) + end + + it "handles multi-step pragma statements" do |db| + db.exec %(PRAGMA journal_mode = memory) + end end