File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
java/test/org/openqa/selenium/remote Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments