Add SwiftFormat to the project. (#129)

* Run swiftformat for whitespace.
* Run swiftformat with some rules.
This commit is contained in:
Doug
2022-07-06 14:49:05 +01:00
committed by GitHub
parent 26d8affaa8
commit 02eb4b35e2
188 changed files with 759 additions and 717 deletions
+3 -3
View File
@@ -19,11 +19,11 @@ struct Application {
extension XCUIApplication {
func goToScreenWithIdentifier(_ identifier: UITestScreenIdentifier) {
let button = self.buttons[identifier.rawValue]
let button = buttons[identifier.rawValue]
let lastLabel = staticTexts["lastItem"]
while !button.isHittable && !lastLabel.isHittable {
self.tables.firstMatch.swipeUp()
while !button.isHittable, !lastLabel.isHittable {
tables.firstMatch.swipeUp()
}
button.tap()
+1 -1
View File
@@ -14,8 +14,8 @@
// limitations under the License.
//
import XCTest
import ElementX
import XCTest
class BugReportUITests: XCTestCase {
+1 -1
View File
@@ -14,8 +14,8 @@
// limitations under the License.
//
import XCTest
import ElementX
import XCTest
@MainActor
class LoginScreenUITests: XCTestCase {
+1 -1
View File
@@ -14,8 +14,8 @@
// limitations under the License.
//
import XCTest
import ElementX
import XCTest
@MainActor
class RoomScreenUITests: XCTestCase {
+1 -1
View File
@@ -14,8 +14,8 @@
// limitations under the License.
//
import XCTest
import ElementX
import XCTest
@MainActor
class ServerSelectionUITests: XCTestCase {
@@ -14,8 +14,8 @@
// limitations under the License.
//
import XCTest
import ElementX
import XCTest
class SessionVerificationUITests: XCTestCase {
+1 -1
View File
@@ -14,8 +14,8 @@
// limitations under the License.
//
import XCTest
import ElementX
import XCTest
class SettingsUITests: XCTestCase {