Skip to content

Commit 58b40bc

Browse files
committed
run format.sh
1 parent 545cc9b commit 58b40bc

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

java/test/org/openqa/selenium/remote/RemoteWebDriverUnitTest.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -812,17 +812,15 @@ void noArgConstructorEmptyCapabilitiesTest() {
812812
void getDownloadableFilesReturnsType() {
813813
List<String> expectedFiles = Arrays.asList("file1.txt", "file2.pdf");
814814

815-
WebDriverFixture fixture = new WebDriverFixture(
816-
new ImmutableCapabilities("se:downloadsEnabled", true),
817-
echoCapabilities,
818-
valueResponder(ImmutableMap.of("names", expectedFiles))
819-
);
815+
WebDriverFixture fixture =
816+
new WebDriverFixture(
817+
new ImmutableCapabilities("se:downloadsEnabled", true),
818+
echoCapabilities,
819+
valueResponder(ImmutableMap.of("names", expectedFiles)));
820820

821821
List<String> result = fixture.driver.getDownloadableFiles();
822822

823-
assertThat(result)
824-
.isInstanceOf(List.class)
825-
.isEqualTo(expectedFiles);
823+
assertThat(result).isInstanceOf(List.class).isEqualTo(expectedFiles);
826824

827825
fixture.verifyCommands(new CommandPayload(DriverCommand.GET_DOWNLOADABLE_FILES, emptyMap()));
828826
}

0 commit comments

Comments
 (0)