From f859f7fe4a95d4261c9a526d4ad9eb6410a80220 Mon Sep 17 00:00:00 2001 From: rbock Date: Mon, 18 Aug 2014 19:17:59 +0200 Subject: [PATCH] Added must_not_update-test --- test_constraints/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_constraints/CMakeLists.txt b/test_constraints/CMakeLists.txt index bdb60f10..6b4693d5 100644 --- a/test_constraints/CMakeLists.txt +++ b/test_constraints/CMakeLists.txt @@ -22,10 +22,10 @@ function(test_constraint name pattern) add_dependencies(test_sqlpp_constraints test_${name}) -endfunction(testconstraint) - +endfunction(test_constraint) test_constraint(no_conversion_operator_if_null_not_trivial "int i = row.alpha") 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")