Procházet zdrojové kódy

Test::Selenium::Remote::Role::DoesTesting - Added quotes around test msg values.

Eric Johnson před 11 roky
rodič
revize
65ea8270cb
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      lib/Test/Selenium/Remote/Role/DoesTesting.pm

+ 2 - 1
lib/Test/Selenium/Remote/Role/DoesTesting.pm

@@ -54,7 +54,8 @@ sub _check_ok {
     };
 
     my $default_test_name = $method;
-    $default_test_name .= join(" ", @r_args) if $num_of_args > 0;
+    $default_test_name .= "'" . join("' ", @r_args) . "'"
+        if $num_of_args > 0;
 
     my $test_name = pop @args // $default_test_name;
     return $self->ok( $rv, $test_name);