From: heister Date: Fri, 15 Feb 2013 23:17:04 +0000 (+0000) Subject: fix tests (throw in assert change) X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=864dcf371bfe18cdfecc1df7f95a4f8bc6d64743;p=dealii-svn.git fix tests (throw in assert change) git-svn-id: https://svn.dealii.org/trunk@28422 0785d39b-7218-0410-832d-ea1e28bc413d --- 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; }