Rely on SPM plugins to consume SwiftLint and SwiftFormat
Use their latest releases and fix some violations and issues. # Conflicts: # .github/workflows/linting.yml # .github/workflows/testing.yml
This commit is contained in:
parent
358908f161
commit
1bdf9d684b
40 changed files with 126 additions and 186 deletions
|
|
@ -12,7 +12,7 @@ import ObjectiveGit
|
|||
import SwiftyUserDefaults
|
||||
@testable import passKit
|
||||
|
||||
class GitCredentialTest: XCTestCase {
|
||||
final class GitCredentialTest: XCTestCase {
|
||||
private static let defaultsID = "SharedDefaultsForGitCredentialTest"
|
||||
|
||||
private let keyStore = DictBasedKeychain()
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import XCTest
|
|||
|
||||
@testable import passKit
|
||||
|
||||
class PasswordStoreTest: XCTestCase {
|
||||
final class PasswordStoreTest: XCTestCase {
|
||||
private let remoteRepoURL = URL(string: "https://github.com/mssun/passforios-password-store.git")!
|
||||
|
||||
func testCloneAndDecryptMultiKeys() throws {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import XCTest
|
|||
|
||||
@testable import passKit
|
||||
|
||||
class PasswordTableEntryTest: XCTestCase {
|
||||
final class PasswordTableEntryTest: XCTestCase {
|
||||
func testExample() {
|
||||
let nameWithCategoryList = [
|
||||
"github",
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import XCTest
|
|||
|
||||
@testable import passKit
|
||||
|
||||
class PasswordTest: XCTestCase {
|
||||
final class PasswordTest: XCTestCase {
|
||||
func testURL() {
|
||||
let password = getPasswordObjectWith(content: "")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue