Skip to content

Commit

Permalink
[tests] well ofc there's windows too..
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Feb 4, 2024
1 parent 732be46 commit 782c520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/misc/src/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class Main {
}

static function hideStdPositions(content:String):String {
var regex = new EReg(getStd() + '([a-z/]+\\.hx):[0-9]+:( characters? [0-9]+(-[0-9]+)( :)?)', 'i');
var regex = new EReg(getStd() + '([a-z/\\\\]+\\.hx):[0-9]+:( characters? [0-9]+(-[0-9]+)( :)?)', 'i');

return content.split("\n")
.map(line -> regex.replace(line, "$1:???:"))
Expand Down

0 comments on commit 782c520

Please sign in to comment.