mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Add automatic linter (#4214)
This commit is contained in:
@@ -40,8 +40,7 @@ class PollardRhoTest {
|
||||
String expectedMessage = "GCD cannot be found.";
|
||||
|
||||
// when
|
||||
Exception exception
|
||||
= assertThrows(RuntimeException.class, () -> { PollardRho.pollardRho(number); });
|
||||
Exception exception = assertThrows(RuntimeException.class, () -> { PollardRho.pollardRho(number); });
|
||||
String actualMessage = exception.getMessage();
|
||||
|
||||
// then
|
||||
|
||||
Reference in New Issue
Block a user