package com.carrotsearch.ant.tasks.junit4.it;

import java.io.IOException;

import org.junit.Test;

import com.carrotsearch.ant.tasks.junit4.tests.FireUnhandledRunnerException;

public class TestUnhandledSlaveFailure extends JUnit4XmlTestBase {
  @Test
  public void checkSlaveMainFailure() throws IOException {
    super.expectBuildExceptionContaining("slavemainfailure", "process threw an unexpected");
    assertLogContains(FireUnhandledRunnerException.EXCEPTION_MESSAGE);
  }
}

@@ -388,18 +388,17 @@
  an 
-unexpected
+exception
 %22);%0A

Correct the test.