Skip to content

Commit

Permalink
Fixed nesting test
Browse files Browse the repository at this point in the history
  • Loading branch information
mildm8nnered committed Dec 26, 2024
1 parent 3d6cf37 commit 761d4f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/SwiftLintFrameworkTests/CoverageTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,19 @@ final class CoverageTests: SwiftLintTestCase {
let source = """
// swiftlint:disable \(Self.customRuleIdentifier1)
// swiftlint:disable array_init
// swiftlint:disable \(Self.customRuleIdentifier1) direct_return
// swiftlint:disable \(Self.customRuleIdentifier2) direct_return
// swiftlint:enable array_init direct_return
// swiftlint:enable \(Self.customRuleIdentifier2)
//
// swiftlint:enable \(Self.customRuleIdentifier1)
"""

try testCoverage(
for: enabledRuleIdentifiers,
customRules: Self.customRulesConfiguration,
source: source,
observedCoverage: 36,
observedCoverage: 33,
maximumCoverage: 48
)
}
Expand Down

0 comments on commit 761d4f4

Please sign in to comment.