Sfoglia il codice sorgente

Change whitespace: Wrap comments in upload file

Daniel Gempesaw 10 anni fa
parent
commit
da0b8e21ce
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      lib/Selenium/Remote/Driver.pm

+ 2 - 1
lib/Selenium/Remote/Driver.pm

@@ -2483,7 +2483,8 @@ sub upload_file {
     my $res = { 'command' => 'uploadFile' };    # /session/:SessionId/file
     my $ret = $self->_execute_command( $res, $params );
 
-    #WORKAROUND: Since this is undocumented selenium functionality, work around a bug.
+    #WORKAROUND: Since this is undocumented selenium functionality,
+    #work around a bug.
     my ($drive, $path, $file) = File::Spec::Functions::splitpath($ret);
     if ($file ne $filename) {
         $ret = File::Spec::Functions::catpath($drive,$path,$filename);