Skip to content

Commit e0a3f48

Browse files
committed
minor cleanups
1 parent 14789c9 commit e0a3f48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/me/alb_i986/selenium/junit/rules/WebDriverResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected void after() {
7777

7878
/**
7979
* @throws IllegalStateException if the driver has not been initialized yet,
80-
* which means that before() hasn't been called.
80+
* which means that {@code before()} hasn't been called.
8181
*/
8282
@Override
8383
public WebDriver getDriver() {

src/test/java/me/alb_i986/selenium/junit/rules/RetryRuleTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ public void shouldThrowRetryExceptionWhenFlakyTestFailsAllTheTimes() throws Thro
155155
.evaluate();
156156
fail("should throw RetryException");
157157
} catch (RetryException e) { // expected
158-
assertThat(e.getMessage(), stringContainsInOrder(asList(
159-
"failure 1", "failure 2", "failure 3")));
158+
assertThat(e.getMessage(), stringContainsInOrder(
159+
asList("failure 1", "failure 2", "failure 3")));
160160
}
161161

162162
verify(mockedStatement, times(3)).evaluate();

0 commit comments

Comments
 (0)