From 7dba62bcf16cc9bf44c5c444ea2f41be9461b6d3 Mon Sep 17 00:00:00 2001 From: Oleg Smolsky Date: Tue, 18 Jun 2019 09:42:35 -0700 Subject: [PATCH] Added a minimal test for Statement::getExtendedSQL() - there is nothing conditional here in the wrapper --- tests/Statement_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Statement_test.cpp b/tests/Statement_test.cpp index 4d31e5d..f351d91 100644 --- a/tests/Statement_test.cpp +++ b/tests/Statement_test.cpp @@ -252,6 +252,7 @@ TEST(Statement, bindings) { insert.bind(1, text); insert.bind(2, integer); insert.bind(3, dbl); + EXPECT_EQ(insert.getExtendedSQL(), "INSERT INTO test VALUES (NULL, 'first', -123, 0.123)"); EXPECT_EQ(1, insert.exec()); EXPECT_EQ(SQLITE_DONE, db.getErrorCode());