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 51ca025 commit 827fa65Copy full SHA for 827fa65
Tests/OpenGraphCompatibilityTests/Debug/DebugServerTests.swift
@@ -7,6 +7,7 @@ import CoreFoundation
7
import Foundation
8
import Testing
9
10
+@MainActor
11
struct DebugServerTests {
12
@Test
13
func testMode0() {
@@ -22,11 +23,12 @@ struct DebugServerTests {
22
23
.disabled(if: compatibilityTestEnabled, "Skip on AG due to internal_diagnostics check"),
24
)
25
func testMode1() throws {
- _ = try #require(OGDebugServer.start(mode: 1))
26
+ let _ = try #require(OGDebugServer.start(mode: 1))
27
let url = try #require(OGDebugServer.copyURL())
28
let urlString = (url as URL).absoluteString
29
#expect(urlString.hasPrefix("graph://"))
30
OGDebugServer.run(timeout: 1)
31
+ OGDebugServer.stop()
32
}
33
34
#endif
0 commit comments