diff --git a/tests/core/usage/Function.cpp b/tests/core/usage/Function.cpp index fca97784..c692182a 100644 --- a/tests/core/usage/Function.cpp +++ b/tests/core/usage/Function.cpp @@ -382,14 +382,17 @@ int Function(int, char* []) using TI = decltype(sqlpp::value_or_null(7)); using TF = decltype(sqlpp::value_or_null(5.6)); using TT = decltype(sqlpp::value_or_null("hallo")); + using TD = decltype(sqlpp::value_or_null(std::chrono::system_clock::now())); using TBN = decltype(sqlpp::value_or_null(sqlpp::null)); using TIN = decltype(sqlpp::value_or_null(sqlpp::null)); using TFN = decltype(sqlpp::value_or_null(sqlpp::null)); using TTN = decltype(sqlpp::value_or_null(sqlpp::null)); + using TDN = decltype(sqlpp::value_or_null(sqlpp::null)); static_assert(std::is_same::value, "type_requirement"); static_assert(std::is_same::value, "type_requirement"); static_assert(std::is_same::value, "type_requirement"); static_assert(std::is_same::value, "type_requirement"); + static_assert(std::is_same::value, "type_requirement"); static_assert(not 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");