Skip to content

Commit e41b87b

Browse files
committed
fix formatting in FirefoxDriverTests
1 parent eda3947 commit e41b87b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

java/test/org/openqa/selenium/firefox/FirefoxDriverTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,13 @@ void shouldThrowNumberFormatException() {
282282
builder.usingPort(port);
283283

284284
assertThatExceptionOfType(NumberFormatException.class)
285-
.isThrownBy(builder::build)
286-
.withMessage(
287-
"Couldn't format the port numbers because the System Language is arabic: \""
288-
+ String.format("--port=%d", port)
289-
+ "\", please make sure to add the required arguments \"-Duser.language=en"
290-
+ " -Duser.region=US\" to your JVM, for more info please visit :\n"
291-
+ " https://www.selenium.dev/documentation/webdriver/browsers/");
285+
.isThrownBy(builder::build)
286+
.withMessage(
287+
"Couldn't format the port numbers because the System Language is arabic: \""
288+
+ String.format("--port=%d", port)
289+
+ "\", please make sure to add the required arguments \"-Duser.language=en"
290+
+ " -Duser.region=US\" to your JVM, for more info please visit :\n"
291+
+ " https://www.selenium.dev/documentation/webdriver/browsers/");
292292

293293
Locale.setDefault(Locale.US);
294294
}

0 commit comments

Comments
 (0)