Skip to content

Commit 737d420

Browse files
committed
[java] Formatted with ./scripts/format.sh
1 parent 12d83f0 commit 737d420

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

java/test/org/openqa/selenium/support/ui/SelectElementTest.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
2222
import static org.openqa.selenium.testing.drivers.Browser.ALL;
2323

24+
import java.util.Arrays;
25+
import java.util.List;
2426
import org.junit.jupiter.api.BeforeEach;
2527
import org.junit.jupiter.api.Test;
2628
import org.openqa.selenium.By;
@@ -29,9 +31,6 @@
2931
import org.openqa.selenium.testing.Ignore;
3032
import org.openqa.selenium.testing.JupiterTestBase;
3133

32-
import java.util.Arrays;
33-
import java.util.List;
34-
3534
class SelectElementTest extends JupiterTestBase {
3635

3736
@BeforeEach
@@ -181,9 +180,9 @@ void shouldNotAllowInvisibleOptionsToBeSelectedByContainsVisibleText() {
181180

182181
List<String> options = Arrays.asList("Apples", "Pears", "Oranges", "Lemons");
183182
options.forEach(
184-
option ->
185-
assertThatExceptionOfType(NoSuchElementException.class)
186-
.isThrownBy(() -> select.selectByVisibleText(option)));
183+
option ->
184+
assertThatExceptionOfType(NoSuchElementException.class)
185+
.isThrownBy(() -> select.selectByVisibleText(option)));
187186
}
188187

189188
@Test

0 commit comments

Comments
 (0)