Skip to content

Commit

Permalink
Add missing trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
tonell_m committed Dec 12, 2023
1 parent d607c4c commit 9c1904c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ extension RedundantTypeAnnotationRule {
var direction = Direction.up
"""),
Example("var values: Set<Int> = Set([0, 1, 2])")
Example("var values: Set<Int> = Set([0, 1, 2])"),
],
triggeringExamples: [
Example("var url↓:URL=URL()"),
Expand Down Expand Up @@ -210,7 +210,7 @@ extension RedundantTypeAnnotationRule {
}
}
"""),
Example("var num: Int = Int.random(0..<10)"): Example("var num = Int.random(0..<10)")
Example("var num: Int = Int.random(0..<10)"): Example("var num = Int.random(0..<10)"),
]
)
}

0 comments on commit 9c1904c

Please sign in to comment.