From 06cbe05b084ccd50e6c1b79c0f8b8ecb264293a9 Mon Sep 17 00:00:00 2001 From: rbock Date: Sat, 21 Oct 2017 16:55:11 +0200 Subject: [PATCH] Add more tests for verbatim --- tests/Function.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Function.cpp b/tests/Function.cpp index e31fcd5c..1b24e77f 100644 --- a/tests/Function.cpp +++ b/tests/Function.cpp @@ -403,11 +403,14 @@ int Function(int, char* []) // test verbatim { using TB = decltype(sqlpp::verbatim("1")); + using TBS = decltype(sqlpp::verbatim("1").as(kaesekuchen)); using TI = decltype(sqlpp::verbatim("42")); using TF = decltype(sqlpp::verbatim("1.5")); using TT = decltype(sqlpp::verbatim("cheesecake")); static_assert(not sqlpp::is_selectable_t::value, "type requirement"); static_assert(sqlpp::is_boolean_t::value, "type requirement"); + static_assert(sqlpp::is_selectable_t::value, "type requirement"); + static_assert(sqlpp::is_boolean_t::value, "type requirement"); static_assert(not sqlpp::is_selectable_t::value, "type requirement"); static_assert(sqlpp::is_integral_t::value, "type requirement"); static_assert(not sqlpp::is_selectable_t::value, "type requirement");