Skip to content

Commit dfe6fc8

Browse files
committed
Make it clear which tests are running
1 parent 00e1d49 commit dfe6fc8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/JShrink/Test/JShrinkTest.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function testUnclosedRegexException()
4343
*/
4444
public function testJShrink($testName, $input, $output)
4545
{
46+
echo('Running JShrink Test: ' . $testName);
4647
$this->assertEquals($output, \JShrink\Minifier::minify($input), 'Running JShrink Test: ' . $testName);
4748
}
4849

@@ -85,7 +86,7 @@ public function testRequests($testName, $input, $output)
8586
* the output folder.
8687
*
8788
* @param $group string
88-
* @return array
89+
* @return string[][]
8990
*/
9091
public static function getTestFiles($group)
9192
{
@@ -104,7 +105,7 @@ public static function getTestFiles($group)
104105
$testInput = file_get_contents($testDir . $testFile);
105106
$testOutput = file_get_contents($expectDir . $testFile);
106107

107-
$returnData[] = array($testFile, $testInput, $testOutput);
108+
$returnData[$group . ":" . $testFile] = [$testFile, $testInput, $testOutput];
108109
}
109110

110111
return $returnData;

0 commit comments

Comments
 (0)