Skip to content

Commit 3cc39df

Browse files
authored
Merge pull request #2066 from ahoppen/expected-formatting
Fix expected output in swift-format `SkipUnless` check
2 parents b655c7a + 35b6c12 commit 3cc39df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SKTestSupport/SkipUnless.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ package actor SkipUnless {
372372
let output = try result.utf8Output()
373373
switch output {
374374
case "": return false
375-
case "let x = 1": return true
376-
default: throw GenericError("Received unexpected formatting output: \(output)")
375+
case "let x = 1\n": return true
376+
default: throw GenericError("Received unexpected formatting output: '\(output)'")
377377
}
378378
}
379379
}

0 commit comments

Comments
 (0)