Skip to content

Commit e9b1e35

Browse files
committed
Handle file:// URIs too
1 parent df4e2dd commit e9b1e35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/dev/bless_tests.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ function normalizeOutput(string $out): string {
7777
// Inside of strings, replace absolute paths that have been truncated with
7878
// any string. These tend to contain homedirs with usernames, not good.
7979
$out = preg_replace("/'\\/.*\.\\.\\.'/", "'%s'", $out);
80+
$out = preg_replace("/'file:\/\\/.*\.\\.\\.'/", "'%s'", $out);
8081
$out = str_replace("\0", '%0', $out);
8182
return $out;
8283
}

0 commit comments

Comments
 (0)