Skip to content
Permalink
Browse files
Fix javadoc comment
remove extra line
  • Loading branch information
arturobernalg committed Dec 18, 2020
1 parent 5403a8d commit 73fe3c04c66f3aa38b8c726dbac169b65fe90caf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
@@ -56,7 +56,7 @@ public static void assertNegativeInfinity(final double value) {
* given value.
* @param executable the Executable instance
* @param exceptionType the expected exception type
* @param message the expected exception message; ignored if null
* @param message the expected exception message
*/
public static <T extends Throwable> void assertThrowsWithMessage(final Executable executable, final Class<T> exceptionType, final String message) {
Assertions.assertEquals(message, Assertions.assertThrows(exceptionType, executable).getMessage());
@@ -67,7 +67,7 @@ public static <T extends Throwable> void assertThrowsWithMessage(final Executabl
* given regex.
* @param executable the Executable instance
* @param exceptionType the expected exception type
* @param pattern regex pattern to match; ignored if null
* @param pattern regex pattern to match
*/
public static <T extends Throwable> void assertThrowsWithMessage(final Executable executable, final Class<T> exceptionType, final Pattern pattern) {
final String message = Assertions.assertThrows(exceptionType, executable).getMessage();
@@ -20,7 +20,6 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;


public class EpsilonDoublePrecisionContextTest {

@Test

0 comments on commit 73fe3c0

Please sign in to comment.