[test] shorten a 32-bit small string (sometimes)

This commit is contained in:
Guillaume Lessard
2025-06-26 06:02:31 -07:00
committed by Guillaume Lessard
parent 791dd4cb0a
commit db664fbff4

View File

@@ -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