Format code with SwiftFormat automatically in every build

This commit is contained in:
Danny Moesch 2020-06-28 21:25:40 +02:00 committed by Mingshen Sun
parent f167ab7549
commit 7f9f0e43b2
100 changed files with 1124 additions and 1063 deletions

View file

@ -11,7 +11,6 @@ import XCTest
@testable import passKit
class PasswordTableEntryTest: XCTestCase {
func testExample() {
let nameWithCategoryList = [
"github",
@ -27,13 +26,13 @@ class PasswordTableEntryTest: XCTestCase {
]
let searchTextList1 = [
"github.com",
"www.github.com"
"www.github.com",
]
let searchTextList2 = [
"xx.com",
"www.xx.com"
"www.xx.com",
]
for nameWithCategory in nameWithCategoryList {
for searchText in searchTextList1 {
XCTAssertTrue(PasswordTableEntry.match(nameWithCategory: nameWithCategory, searchText: searchText))
@ -43,5 +42,4 @@ class PasswordTableEntryTest: XCTestCase {
}
}
}
}