     XCTAssertTrue("a1🤔".ends(with:"🤔"))
     XCTAssertTrue("a1🖖🏽".ends(with:"🖖🏽"))
     XCTAssertTrue(" 🖖🏽🇮🇹🇮🇹".ends(with:"🇮🇹"))
-
+    
     //case insensitive
     XCTAssertTrue(" 🖖🏽🇮🇹🇮🇹".ends(with:"🇮🇹", caseSensitive: false))
     XCTAssertTrue("a".ends(with:"A", caseSensitive: false))
     XCTAssertTrue("Hello".ends(with:"hello", caseSensitive: false))
     XCTAssertFalse("Hello".ends(with:"helloo", caseSensitive: false))
   }
-
+  
   func testReverse() {
     var a = "a"
     a.reverse()

    XCTAssertTrue(" test spaces too\n many".condensingExcessiveSpacesAndNewlines() == "test spaces too many")
    XCTAssertTrue("test\n\n spaces \n\n too many ".condensingExcessiveSpacesAndNewlines() == "test spaces too many")
  }

  func testRemovingAccentsOrDiacritics() {
    XCTAssertTrue("äöüÄÖÜ".removingAccentsOrDiacritics() == "aouAOU")
    XCTAssertTrue("1".removingAccentsOrDiacritics() == "1")

    XCTAssertTrue(s3.truncate(at: 4) == "a😀bb…")
    XCTAssertTrue(s3.truncate(at: 5) == "a😀bb😄…")
    XCTAssertTrue(s3.truncate(at: 6) == "a😀bb😄😄…")
    
    let s4 = "a🇮🇹bb🇮🇹🇮🇹ccc🇮🇹🇮🇹🇮🇹"
    XCTAssertTrue(s4.truncate(at: 0) == "…")
    XCTAssertTrue(s4.truncate(at: 1) == "a…")
