Skip to content

Commit ce0df8c

Browse files
committed
[Parsable Output] Adjust existing tests to match new format that includes real PID.
1 parent 4a3e51d commit ce0df8c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Tests/SwiftDriverTests/ParsableMessageTests.swift

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ final class ParsableMessageTests: XCTestCase {
5252
"type" : "object"
5353
}
5454
],
55-
"pid" : 1
55+
"pid" : 1,
56+
"process" : {
57+
"real_pid" : 1
58+
}
5659
}
5760
""")
5861
}
@@ -69,7 +72,10 @@ final class ParsableMessageTests: XCTestCase {
6972
"kind" : "finished",
7073
"name" : "compile",
7174
"output" : "hello",
72-
"pid" : 1
75+
"pid" : 1,
76+
"process" : {
77+
"real_pid" : 1
78+
}
7379
}
7480
""")
7581
}
@@ -88,6 +94,9 @@ final class ParsableMessageTests: XCTestCase {
8894
"name" : "compile",
8995
"output" : "sig",
9096
"pid" : 2,
97+
"process" : {
98+
"real_pid" : 2
99+
},
91100
"signal" : 3
92101
}
93102
""")

0 commit comments

Comments
 (0)