Skip to content

Commit cb086ba

Browse files
committed
Fix missing async-await in new tests
1 parent f4088ff commit cb086ba

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Tests/TuistGeneratorTests/Linter/GraphLinterTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,7 +2144,7 @@ final class GraphLinterTests: TuistUnitTestCase {
21442144
)
21452145
}
21462146

2147-
func test_extensionKitExtension_canBeEmbeddedToTheApp_includingDependencies() throws {
2147+
func test_extensionKitExtension_canBeEmbeddedToTheApp_includingDependencies() async throws {
21482148
let platforms: [Platform] = [.macOS, .iOS]
21492149

21502150
for platform in platforms {
@@ -2196,14 +2196,14 @@ final class GraphLinterTests: TuistUnitTestCase {
21962196
let graphTraverser = GraphTraverser(graph: graph)
21972197

21982198
// When
2199-
let results = subject.lint(graphTraverser: graphTraverser, config: config)
2199+
let results = try await subject.lint(graphTraverser: graphTraverser, config: config)
22002200

22012201
// Then
22022202
XCTAssertTrue(results.isEmpty, "Expected to get no lint failures on \(platform), got \(results)")
22032203
}
22042204
}
22052205

2206-
func test_extensionKitExtension_macOS_canEmbedAnXPCService() throws {
2206+
func test_extensionKitExtension_macOS_canEmbedAnXPCService() async throws {
22072207
// Given
22082208
let path = try temporaryPath()
22092209

@@ -2231,7 +2231,7 @@ final class GraphLinterTests: TuistUnitTestCase {
22312231
let graphTraverser = GraphTraverser(graph: graph)
22322232

22332233
// When
2234-
let results = subject.lint(graphTraverser: graphTraverser, config: config)
2234+
let results = try await subject.lint(graphTraverser: graphTraverser, config: config)
22352235

22362236
// Then
22372237
XCTAssertTrue(results.isEmpty, "Expected to get no lint failures, got \(results)")

0 commit comments

Comments
 (0)