From 21dc766c9350d2e7b1be615e2890c36d1351d805 Mon Sep 17 00:00:00 2001 From: JP Simard Date: Tue, 18 Apr 2023 17:45:51 -0400 Subject: [PATCH] Exclude new `XCTSpecificMatcherRule` examples from documentation (#4907) --- .../Rules/Idiomatic/XCTSpecificMatcherRuleExamples.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/SwiftLintFramework/Rules/Idiomatic/XCTSpecificMatcherRuleExamples.swift b/Source/SwiftLintFramework/Rules/Idiomatic/XCTSpecificMatcherRuleExamples.swift index a471ff43c..24f3d959f 100644 --- a/Source/SwiftLintFramework/Rules/Idiomatic/XCTSpecificMatcherRuleExamples.swift +++ b/Source/SwiftLintFramework/Rules/Idiomatic/XCTSpecificMatcherRuleExamples.swift @@ -54,9 +54,11 @@ internal struct XCTSpecificMatcherRuleExamples { // Configurations Disabled Example("XCTAssertEqual(foo, true)", - configuration: ["matchers": ["one-argument-asserts"]]), + configuration: ["matchers": ["one-argument-asserts"]], + excludeFromDocumentation: true), Example("XCTAssert(foo == bar)", - configuration: ["matchers": ["two-argument-asserts"]]) + configuration: ["matchers": ["two-argument-asserts"]], + excludeFromDocumentation: true) ] static let triggeringExamples = [