We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2a73e commit b60f7ddCopy full SHA for b60f7dd
Tests/WorkspaceTests/InitTests.swift
@@ -64,9 +64,10 @@ struct InitTests {
64
name: String = "Foo",
65
supportedTestingLibraries: Set<TestingLibrary> = [.xctest],
66
buildSystem: BuildSystemProvider.Kind? = nil,
67
- customVerification: ((AbsolutePath, String) throws -> Void)? = nil
+ customVerification: ((AbsolutePath, String) throws -> Void)? = nil,
68
+ function: StaticString = #function
69
) async throws {
- return try await testWithTemporaryDirectory { tmpPath in
70
+ return try await testWithTemporaryDirectory(function: function) { tmpPath in
71
let fs = localFileSystem
72
let path = tmpPath.appending(name)
73
let packageName = path.basename
0 commit comments