Skip to content

Commit

Permalink
Corrected unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trueqbit committed Nov 24, 2023
1 parent 35dceeb commit ae8e3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/static_tests/function_static_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ TEST_CASE("function static") {
STATIC_REQUIRE(std::is_same<decltype(aggregate), const function<AFunction>>::value);
STATIC_REQUIRE(std::is_same<decltype(aggregate(42)), function_call<AFunction, int>>::value);

STATIC_REQUIRE(std::is_same_v<function<SFunction>::callable_type, SFunction>);
STATIC_REQUIRE(std::is_same_v<function<SFunction>::udf_type, SFunction>);
STATIC_REQUIRE(std::is_same<function<SFunction>::callable_type, SFunction>::value);
STATIC_REQUIRE(std::is_same<function<SFunction>::udf_type, SFunction>::value);

#ifdef SQLITE_ORM_WITH_CPP20_ALIASES
STATIC_REQUIRE(orm_scalar_function<decltype(scalar)>);
Expand Down

0 comments on commit ae8e3df

Please sign in to comment.