@@ -27,12 +27,7 @@ class DependencyGraphSerializationTests: XCTestCase, ModuleDependencyGraphMocker
27
27
let graph = Self . mockGraphCreator. mockUpAGraph ( )
28
28
let currentVersion = ModuleDependencyGraph . serializedGraphVersion
29
29
let alteredVersion = currentVersion. withAlteredMinor
30
- let outputFileMap = OutputFileMap . mock ( maxIndex: Self . maxIndex)
31
- let diagnosticsEngine = DiagnosticsEngine ( )
32
- let info = BuildRecordInfo . mock (
33
- diagnosticEngine: diagnosticsEngine,
34
- outputFileMap: outputFileMap,
35
- compilerVersion: " Swift 99 " )
30
+
36
31
try graph. blockingConcurrentAccessOrMutation {
37
32
try graph. write (
38
33
to: mockPath,
@@ -63,11 +58,7 @@ class DependencyGraphSerializationTests: XCTestCase, ModuleDependencyGraphMocker
63
58
let mockPath = try VirtualPath . absolute ( AbsolutePath ( validating: " /module-dependency-graph " ) )
64
59
let fs = InMemoryFileSystem ( )
65
60
let outputFileMap = OutputFileMap . mock ( maxIndex: Self . maxIndex)
66
- let diagnosticsEngine = DiagnosticsEngine ( )
67
- let buildRecord = BuildRecordInfo . mock (
68
- diagnosticEngine: diagnosticsEngine,
69
- outputFileMap: outputFileMap,
70
- compilerVersion: " Swift 99 " )
61
+
71
62
try originalGraph. blockingConcurrentMutation {
72
63
try originalGraph. write (
73
64
to: mockPath, on: fs,
0 commit comments