mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Run SwiftFormat.
This commit is contained in:
@@ -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…")
|
||||
|
||||
Reference in New Issue
Block a user