Skip to content

Commit

Permalink
Remove trailing commas from TypeNameRuleTests.testTypeNameWithLeading…
Browse files Browse the repository at this point in the history
…UnderscoreWithPrivate
  • Loading branch information
sinoru committed May 9, 2022
1 parent 99f8be8 commit 188e757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/SwiftLintFrameworkTests/TypeNameRuleTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ class TypeNameRuleTests: XCTestCase {

let description = baseDescription
.with(nonTriggeringExamples: [
Example("private class _MyPrivateClass {}", excludeFromDocumentation: true),
Example("private class _MyPrivateClass {}", excludeFromDocumentation: true)
])
.with(triggeringExamples: [
Example("private class ↓`_` {}", excludeFromDocumentation: true),
Example("private class ↓`_` {}", excludeFromDocumentation: true)
])

verifyRule(description)
Expand Down

0 comments on commit 188e757

Please sign in to comment.