From 864dcf371bfe18cdfecc1df7f95a4f8bc6d64743 Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 15 Feb 2013 23:17:04 +0000 Subject: [PATCH] fix tests (throw in assert change) git-svn-id: https://svn.dealii.org/trunk@28422 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/hp/fe_collection_04.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/hp/fe_collection_04.cc b/tests/hp/fe_collection_04.cc index 77bdf0abb0..5826b58e01 100644 --- a/tests/hp/fe_collection_04.cc +++ b/tests/hp/fe_collection_04.cc @@ -42,13 +42,14 @@ void test () fe_collection.push_back (FESystem(FE_Q(2),dim)); // we will get an assertion failure in - // n_blocks here. what it returns instead - // is then meaningless but it will in fact - // be the number of blocks of the first - // element of the collection, which here is - // one - Assert (fe_collection.n_blocks() == 1, - ExcInternalError()); + // n_blocks here. + try + { + fe_collection.n_blocks(); + } + catch (...) + { + } deallog << "OK" << std::endl; } -- 2.39.5