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