Skip to content

Commit 6919457

Browse files
author
David Ungar
committed
Fix nits
1 parent 9ac763e commit 6919457

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tests/SwiftDriverTests/IncrementalCompilationTests.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ fileprivate enum RemovalTestOption: String, CaseIterable, Comparable, Hashable,
326326
case
327327
removeInputFromInvocation,
328328
removeSourceFile,
329-
removeEntryFromOutputFileMap,
329+
removePreviouslyAddedInputFromOutputFileMap,
330330
removeSwiftDepsFile,
331331
restoreBadPriors
332332

@@ -376,8 +376,6 @@ extension IncrementalCompilationTests {
376376
#if !os(Linux)
377377
let knownGoodCombos: [[RemovalTestOption]] = [
378378
[.removeInputFromInvocation],
379-
// next up:
380-
// [.removeInputFromInvocation, .restoreBadPriors],
381379
]
382380
for optionsToTest in RemovalTestOptions.allCombinations {
383381
if knownGoodCombos.contains(optionsToTest) {
@@ -403,7 +401,7 @@ extension IncrementalCompilationTests {
403401
if options.contains(.removeSwiftDepsFile) {
404402
removeSwiftDeps(newInput)
405403
}
406-
if options.contains(.removeEntryFromOutputFileMap) {
404+
if options.contains(.removePreviouslyAddedInputFromOutputFileMap) {
407405
// FACTOR
408406
OutputFileMapCreator.write(module: module,
409407
inputPaths: inputPathsAndContents.map {$0.0},

0 commit comments

Comments
 (0)