Skip to content

Commit 5bb3bd6

Browse files
committed
Fix build failures
1 parent f528b0f commit 5bb3bd6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/FoundationEssentialsTests/StringTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ final class StringTestsStdlib: XCTestCase {
14631463
.ascii,
14641464
.utf8,
14651465
]
1466-
checkHashable(instances, equalityOracle: { $0 == $1 })
1466+
XCTCheckHashable(instances, equalityOracle: { $0 == $1 })
14671467
}
14681468

14691469
func test_localizedStringWithFormat() {

Tests/FoundationInternationalizationTests/DateTests+Locale.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ final class DateLocaleTests : XCTestCase {
7171
dateWithString("2010-05-17 14:50:47 -0700"),
7272
dateWithString("2010-05-17 14:49:48 -0700"),
7373
]
74-
checkHashable(values, equalityOracle: { $0 == $1 })
74+
XCTCheckHashable(values, equalityOracle: { $0 == $1 })
7575
}
7676

7777
func test_AnyHashableContainingDate() {

Tests/FoundationInternationalizationTests/StringSortComparatorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private struct StringSortComparatorTests {
3737
@Test func locale() {
3838
let swedishComparator = String.Comparator(options: [], locale: Locale(identifier: "sv"))
3939
#expect(swedishComparator.compare("ă", "ã") == .orderedAscending)
40-
#expect(swedishComparator.locale, Locale(identifier: "sv"))
40+
#expect(swedishComparator.locale == Locale(identifier: "sv"))
4141
}
4242

4343
@Test func nilLocale() {

0 commit comments

Comments
 (0)