Searched refs:oldExpect (Results 1 – 1 of 1) sorted by relevance
34 $oldExpect = trim($matches[2]); variable37 $out = generateMinimallyDifferingOutput($out, $oldExpect);96 function generateMinimallyDifferingOutput(string $out, string $oldExpect) { argument98 $oldExpectLines = explode("\n", $oldExpect);99 $differ = new Differ(function($oldExpect, $new) {100 if (strpos($oldExpect, '%') === false) {101 return $oldExpect === $new;103 return preg_match(formatToRegex($oldExpect), $new);
Completed in 4 milliseconds