MDL-62577 unit tests: Quote class name in re-run command.
authorMichael Aherne <michael.aherne@strath.ac.uk>
Fri, 25 May 2018 15:46:45 +0000 (16:46 +0100)
committerMichael Aherne <michael.aherne@strath.ac.uk>
Fri, 25 May 2018 15:46:45 +0000 (16:46 +0100)
lib/phpunit/classes/hint_resultprinter.php

index a21ca51..fb10e5a 100644 (file)
@@ -116,7 +116,7 @@ class Hint_ResultPrinter extends PHPUnit\TextUI\ResultPrinter {
             }
         }
 
-        $this->write("\nTo re-run:\n $executable $testName $file\n");
+        $this->write("\nTo re-run:\n $executable \"$testName\" $file\n");
     }
 }