mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-06 01:19:58 -06:00
Split up the parsing module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <sqlgen.hpp>
|
||||
#include <sqlgen/parsing/to_create_table.hpp>
|
||||
#include <sqlgen/transpilation/to_create_table.hpp>
|
||||
|
||||
namespace test_tablename {
|
||||
|
||||
@@ -15,7 +15,8 @@ struct TestTable {
|
||||
};
|
||||
|
||||
TEST(general, test_tablename) {
|
||||
const auto create_table_stmt = sqlgen::parsing::to_create_table<TestTable>();
|
||||
const auto create_table_stmt =
|
||||
sqlgen::transpilation::to_create_table<TestTable>();
|
||||
|
||||
EXPECT_EQ(create_table_stmt.table.name, "TEST_TABLE");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user