File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/_InternalTestSupport Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public func expectFileExists(
32
32
/// Verifies that a file does not exist at the specified path.
33
33
///
34
34
/// - Parameters:
35
- /// - fixturePath : The absolute path to check for file non-existence.
35
+ /// - path : The absolute path to check for file non-existence.
36
36
/// - comment: An optional comment to include in the failure message.
37
37
/// - sourceLocation: The source location where the expectation is made.
38
38
public func expectFileDoesNotExists (
@@ -53,8 +53,8 @@ public func expectFileDoesNotExists(
53
53
msgSuffix = " "
54
54
}
55
55
#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) " ,
58
58
sourceLocation: sourceLocation,
59
59
)
60
60
}
You can’t perform that action at this time.
0 commit comments