mirror of
https://github.com/allankoechke/SQLiteCpp.git
synced 2026-12-01 17:09:55 +00:00
Added a minimal test for Statement::getExtendedSQL()
- there is nothing conditional here in the wrapper
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user