Skip to content

Commit

Permalink
Fix test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Dec 19, 2024
1 parent 0447db6 commit f1b5d7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void writesValidXmlReport(@TempDir Path tempDirectory) throws Exception {
</e:reported>
<e:reported id="2" time="${xmlunit.isDateTime}">
<attachments>
<file time="${xmlunit.isDateTime}" path="../test.txt" mediaType="text/plain" />
<file time="${xmlunit.isDateTime}" path="${xmlunit.matchesRegex(\\.\\.[/\\\\]test.txt)}" mediaType="text/plain" />
</attachments>
</e:reported>
<e:reported id="2" time="${xmlunit.isDateTime}">
Expand Down

0 comments on commit f1b5d7a

Please sign in to comment.