Skip to content

Commit 0bfb557

Browse files
authored
Remove a Swift parseable output test case which is obsolete (swiftlang#70)
1 parent a66fd17 commit 0bfb557

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Tests/SWBCoreTests/SwiftCompilerTests.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -297,20 +297,6 @@ fileprivate final class TestSwiftParserDelegate: TaskOutputParserDelegate, Senda
297297
XCTAssertMatch(delegate.events[safe: 1]?.1, .contains("missing pid"))
298298
}
299299

300-
// Missing 'command' is an error.
301-
do {
302-
let (delegate, _) = try await makeTestParserWithMessages([
303-
[ "kind": "began",
304-
"name": "compile",
305-
"pid": 1]])
306-
#expect(delegate.events.count == 2)
307-
#expect(delegate.events[safe: 0]?.0 == "error")
308-
XCTAssertMatch(delegate.events[safe: 0]?.1, .contains("missing or invalid command"))
309-
// Check we still start the subtask.
310-
#expect(delegate.events[safe: 1]?.0 == "startSubtask")
311-
// FIXME: We need to get a close subtask message here.
312-
}
313-
314300
// Duplicate 'pid' is an error.
315301
do {
316302
let (delegate, _) = try await makeTestParserWithMessages([

0 commit comments

Comments
 (0)