Commit db9ec87b authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.5.x'

parents 233ef67a 7f608131
......@@ -52,7 +52,7 @@ import org.springframework.boot.web.servlet.server.AbstractServletWebServerFacto
import org.springframework.http.HttpHeaders;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.isA;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.inOrder;
import static org.mockito.Mockito.mock;
......@@ -292,7 +292,7 @@ public class JettyServletWebServerFactoryTests
}
});
this.thrown.expectCause(instanceOf(IllegalStateException.class));
this.thrown.expectCause(isA(IllegalStateException.class));
factory.getWebServer().start();
}
......
Markdown is supported
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