Skip to content

Commit 2d4745b

Browse files
committed
[Testing] NFC: Do not conflate ObjC interop with Darwin
1 parent 7531fd3 commit 2d4745b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stdlib/CharacterProperties.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ CharacterPropertiesTests.test("Casing") {
146146
// Some versions of ICU on Linux (62.1) have a bug producing the wrong value
147147
// when lowercasing "ẞ". Darwin platforms never shipped this version, so
148148
// conditionally test based on platform.
149-
#if _runtime(_ObjC)
149+
#if canImport(Darwin)
150150
expectEqual("ß", Character("").lowercased())
151151
#endif
152152

0 commit comments

Comments
 (0)