Run SwiftFormat.

This commit is contained in:
Doug
2026-05-27 14:38:50 +01:00
committed by Doug
parent 5138e05e47
commit fa67713726
573 changed files with 2426 additions and 2426 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ struct StringTests {
func spaceIsAscii() {
#expect("".isASCII)
}
@Test
func johnnyIsAscii() {
#expect("johnny".isASCII)
@@ -54,7 +54,7 @@ struct StringTests {
#expect("Heartbreak Hotel 🏩".asciified() == "Heartbreak Hotel", "The emoji should be stripped.")
#expect("1️⃣2️⃣3️⃣".asciified() == "123", "The emoji should be converted to ASCII.")
}
@Test
func ellipsizeWorks() {
#expect("ellipsize".ellipsize(length: 5) == "ellip…")