mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
This will decouple building extra rules from built-in rules so that making changes in one of those modules doesn't rebuild the other.
17 lines
447 B
Swift
17 lines
447 B
Swift
@testable import SwiftLintExtraRules
|
|
import SwiftLintTestHelpers
|
|
|
|
final class ExtraRulesTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
for ruleType in extraRules() {
|
|
verifyRule(ruleType.description)
|
|
}
|
|
}
|
|
}
|
|
|
|
extension ExtraRulesTests {
|
|
static var allTests: [(String, (ExtraRulesTests) -> () throws -> Void)] {
|
|
[("testWithDefaultConfiguration", testWithDefaultConfiguration)]
|
|
}
|
|
}
|