Skip to content

Commit 0c546df

Browse files
Unit test related to parsing an invalid Info.plist XML file expects a (#887)
certain error message, but ignore the precise line number. rdar://126504994
1 parent 3374687 commit 0c546df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftDocCTests/Infrastructure/DocumentationBundleInfoTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class DocumentationBundleInfoTests: XCTestCase {
336336
errorTypeChecking = false
337337
}
338338
XCTAssertTrue(errorTypeChecking)
339-
XCTAssertEqual(error.localizedDescription, "Unable to decode Info.plist file. Verify that it is correctly formed. Value missing for key inside <dict> at line 24")
339+
XCTAssert(error.localizedDescription.starts(with: "Unable to decode Info.plist file. Verify that it is correctly formed. Value missing for key inside <dict> at line"))
340340
}
341341
}
342342

0 commit comments

Comments
 (0)