Files
SwiftLint/Tests/ExtraRulesTests/ExtraRulesTests.swift
JP Simard eaf34d7204 Move extra rules into its own module (#4949)
This will decouple building extra rules from built-in rules so that
making changes in one of those modules doesn't rebuild the other.
2023-04-27 10:37:30 -04:00

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)]
}
}