|
From: Kouhei S. <nul...@cl...> - 2014-01-26 08:44:41
|
Kouhei Sutou 2014-01-26 17:44:22 +0900 (Sun, 26 Jan 2014) New Revision: 590a110066f359b406ada7905204a1a3a06fb7d1 https://github.com/clear-code/cutter/commit/590a110066f359b406ada7905204a1a3a06fb7d1 Message: Fix indent size Modified files: cppcutter/cppcut-test-invoke.cpp Modified: cppcutter/cppcut-test-invoke.cpp (+14 -14) =================================================================== --- cppcutter/cppcut-test-invoke.cpp 2014-01-26 17:03:15 +0900 (26ffb91) +++ cppcutter/cppcut-test-invoke.cpp 2014-01-26 17:44:22 +0900 (0cc04ed) @@ -35,20 +35,20 @@ cut::test::invoke (CutTestClass *cut_test_class, CutTestContext *test_context, CutRunContext *run_context) { - try { - cut_test_class->invoke(test, test_context, run_context); - } catch (const std::exception &exception) { - const gchar *message; - message = cut_take_printf("Unhandled C++ standard exception is thrown: " - "<%s>: %s", - typeid(exception).name(), - exception.what()); - cut_test_terminate(ERROR, message); - } catch (...) { - const gchar *message; - message = "Unhandled C++ non-standard exception is thrown"; - cut_test_terminate(ERROR, message); - } + try { + cut_test_class->invoke(test, test_context, run_context); + } catch (const std::exception &exception) { + const gchar *message; + message = cut_take_printf("Unhandled C++ standard exception is thrown: " + "<%s>: %s", + typeid(exception).name(), + exception.what()); + cut_test_terminate(ERROR, message); + } catch (...) { + const gchar *message; + message = "Unhandled C++ non-standard exception is thrown"; + cut_test_terminate(ERROR, message); + } } /* |