diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift index d67f61480..410d5151c 100644 --- a/Tests/LinuxMain.swift +++ b/Tests/LinuxMain.swift @@ -891,6 +891,12 @@ extension QuickDiscouragedPendingTestRuleTests { ] } +extension RandomRuleTests { + static var allTests: [(String, (RandomRuleTests) -> () throws -> Void)] = [ + ("testWithDefaultConfiguration", testWithDefaultConfiguration) + ] +} + extension RedundantDiscardableLetRuleTests { static var allTests: [(String, (RedundantDiscardableLetRuleTests) -> () throws -> Void)] = [ ("testWithDefaultConfiguration", testWithDefaultConfiguration) @@ -1401,6 +1407,7 @@ XCTMain([ testCase(QuickDiscouragedCallRuleTests.allTests), testCase(QuickDiscouragedFocusedTestRuleTests.allTests), testCase(QuickDiscouragedPendingTestRuleTests.allTests), + testCase(RandomRuleTests.allTests), testCase(RedundantDiscardableLetRuleTests.allTests), testCase(RedundantNilCoalescingRuleTests.allTests), testCase(RedundantOptionalInitializationRuleTests.allTests), diff --git a/Tests/SwiftLintFrameworkTests/AutomaticRuleTests.generated.swift b/Tests/SwiftLintFrameworkTests/AutomaticRuleTests.generated.swift index 6e9b91a39..be1a9e5c5 100644 --- a/Tests/SwiftLintFrameworkTests/AutomaticRuleTests.generated.swift +++ b/Tests/SwiftLintFrameworkTests/AutomaticRuleTests.generated.swift @@ -468,6 +468,12 @@ class QuickDiscouragedPendingTestRuleTests: XCTestCase { } } +class RandomRuleTests: XCTestCase { + func testWithDefaultConfiguration() { + verifyRule(RandomRule.description) + } +} + class RedundantDiscardableLetRuleTests: XCTestCase { func testWithDefaultConfiguration() { verifyRule(RedundantDiscardableLetRule.description)