Skip to content

Commit 948fc68

Browse files
authored
IntegrationTests: fix use of deprecated RelativePath.init (#6620)
`RelativePath(validating:)` should be used instead.
1 parent 71fc550 commit 948fc68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IntegrationTests/Tests/IntegrationTests/Helpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func fixture(
195195
) {
196196
do {
197197
// Make a suitable test directory name from the fixture subpath.
198-
let fixtureSubpath = RelativePath(name)
198+
let fixtureSubpath = try RelativePath(validating: name)
199199
let copyName = fixtureSubpath.components.joined(separator: "_")
200200

201201
// Create a temporary directory for the duration of the block.

0 commit comments

Comments
 (0)