Use filePath for test assert location (#59)

Motivation:

This is consistent with what underlying assert does.
Swift 6 warns about this mismatch

Modifications:

Use filePath for test assert location

Result:

Consistency in test assert location reporting
This commit is contained in:
Peter Adams authored and GitHub committed 2024-08-12 16:08:42 +01:00
1 parent df5d2fcd22
commit 544ffa8eae
1 file changed
+1 -1
+1 -1
View File
@@ -1153,7 +1153,7 @@ class ASN1Tests: XCTestCase {
func assertSetOfLessThanOrEqual(
_ lhs: ArraySlice<UInt8>,
_ rhs: ArraySlice<UInt8>,
file: StaticString = #file,
file: StaticString = #filePath,
line: UInt = #line
) {
XCTAssert(