Skip to content

Commit 0a75ee3

Browse files
author
Alberto Scotto
committed
fix compile error
1 parent 1e4fe6e commit 0a75ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void afterShouldQuitTheDriver() {
6262
@Test
6363
public void nullArgsInConstructorShouldNotBeAllowed() {
6464
try {
65-
new WebDriverResource(null);
65+
new WebDriverResource(((WebDriverFactory) null));
6666
fail("null arg should not be allowed");
6767
} catch (IllegalArgumentException e) {
6868
// expected

0 commit comments

Comments
 (0)