summaryrefslogtreecommitdiff
path: root/tests/New_Fail_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/New_Fail_Test.cpp')
-rw-r--r--tests/New_Fail_Test.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/New_Fail_Test.cpp b/tests/New_Fail_Test.cpp
index bec580eda47..687151669f4 100644
--- a/tests/New_Fail_Test.cpp
+++ b/tests/New_Fail_Test.cpp
@@ -144,11 +144,8 @@ main (int, ASYS_TCHAR *[])
catch (...)
{
- ACE_ERROR ((LM_ERROR,
- "Caught exception during test; "
- "ACE_bad_alloc not defined correctly, or\n"));
- ACE_ERROR ((LM_ERROR,
- "ACE_NEW_THROWS_EXCEPTIONS is not #defined (and should be).\n"));
+ ACE_ERROR((LM_ERROR,
+ "Caught exception during test; ACE_bad_alloc not defined correctly.\n"));
status = 1; // Mark test failure
}
#endif /* ACE_HAS_EXCEPTIONS */