mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[test] shorten a 32-bit small string (sometimes)
This commit is contained in:
committed by
Guillaume Lessard
parent
791dd4cb0a
commit
db664fbff4
@@ -94,8 +94,10 @@ func id<T>(_ a: T) -> T { a }
|
||||
StringDeconstructTests.test("deconstruct") {
|
||||
let smallASCII = "abcd"
|
||||
|
||||
#if _pointerBitWidth(_32)
|
||||
#if _pointerBitWidth(_32) && os(watchOS)
|
||||
let smallUTF8 = "ジッパ"
|
||||
#elseif _pointerBitWidth(_32)
|
||||
let smallUTF8 = "ジッ"
|
||||
#else
|
||||
let smallUTF8 = "ジッパー"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user