Skip to content

Commit 3c6643d

Browse files
committed
Fixup rebase
1 parent dc936c4 commit 3c6643d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/_InternalTestSupport/SwiftTesting+Helpers.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public func expectFileExists(
3232
/// Verifies that a file does not exist at the specified path.
3333
///
3434
/// - Parameters:
35-
/// - fixturePath: The absolute path to check for file non-existence.
35+
/// - path: The absolute path to check for file non-existence.
3636
/// - comment: An optional comment to include in the failure message.
3737
/// - sourceLocation: The source location where the expectation is made.
3838
public func expectFileDoesNotExists(
@@ -53,8 +53,8 @@ public func expectFileDoesNotExists(
5353
msgSuffix = ""
5454
}
5555
#expect(
56-
!localFileSystem.exists(path),
57-
"\(commentPrefix)File: '\(path)' was not expected to exist, but does.\(msgSuffix))",
56+
localFileSystem.exists(path),
57+
"\(commentPrefix)File '\(path)' does not exist. \(msgSuffix)",
5858
sourceLocation: sourceLocation,
5959
)
6060
}

0 commit comments

Comments
 (0)