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
|
|
@ -8,11 +8,12 @@
|
|||
|
||||
import XCTest
|
||||
|
||||
// swiftformat:disable:next sortedImports
|
||||
@testable import passKit
|
||||
@testable import Gopenpgp
|
||||
|
||||
class CryptoFrameworkTest: XCTestCase {
|
||||
// swiftformat:disable:next sortedImports
|
||||
@testable import passKit
|
||||
|
||||
final class CryptoFrameworkTest: XCTestCase {
|
||||
private typealias MessageConverter = (CryptoPGPMessage, NSErrorPointer) -> CryptoPGPMessage?
|
||||
|
||||
private let testText = "Hello World!"
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@ import XCTest
|
|||
|
||||
@testable import passKit
|
||||
|
||||
class PGPAgentTest: XCTestCase {
|
||||
final class PGPAgentTest: XCTestCase {
|
||||
private var keychain: KeyStore!
|
||||
private var pgpAgent: PGPAgent!
|
||||
|
||||
private let testData = "Hello World!".data(using: .utf8)!
|
||||
private let testData = Data("Hello World!".utf8)
|
||||
|
||||
override func setUp() {
|
||||
super.setUp()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue