Commit fbf69f6d authored by afreyssin's avatar afreyssin
Browse files

Minor changes.

parent 1857c262
...@@ -42,8 +42,7 @@ public class test6 extends TestCase { ...@@ -42,8 +42,7 @@ public class test6 extends TestCase {
AgentServer.init(args); AgentServer.init(args);
if ((excMsg != null) && (excMsg.length() != 0) && if ((excMsg != null) && (excMsg.length() != 0) &&
(excType != null) && (excType.length() != 0)) (excType != null) && (excType.length() != 0))
addFailure(new Exception("Exception expecting: " + addFailure(new Exception("Exception expecting: " + excType + '(' + excMsg + ')'));
excType + '(' + excMsg + ')'));
} catch (Throwable exc) { } catch (Throwable exc) {
assertEquals(excType, exc.getClass().getName()); assertEquals(excType, exc.getClass().getName());
assertTrue(exc.getMessage().startsWith(excMsg)); assertTrue(exc.getMessage().startsWith(excMsg));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment