diff --git a/test_constraints/CMakeLists.txt b/test_constraints/CMakeLists.txt index 6787d988..c2784d14 100644 --- a/test_constraints/CMakeLists.txt +++ b/test_constraints/CMakeLists.txt @@ -33,11 +33,9 @@ function(test_constraint name pattern) set_property(TEST ${test} PROPERTY PASS_REGULAR_EXPRESSION ${pattern}) endfunction() -add_executable(see_what_happens no_conversion_operator_if_null_not_trivial.cpp) -target_link_libraries(see_what_happens PRIVATE sqlpp11 sqlpp11_testing) test_constraint(count_of_count "count\\(\\) cannot be used on an aggregate function") test_constraint(max_of_max "max\\(\\) cannot be used on an aggregate function") -test_constraint(no_conversion_operator_if_null_not_trivial "int i = row.alpha") +test_constraint(no_conversion_operator_if_null_not_trivial "cannot convert|no viable conversion") test_constraint(require_insert "required column is missing") test_constraint(must_not_insert "one assignment is prohibited") test_constraint(must_not_update "one assignment is prohibited")