Skip to content

Commit

Permalink
Add additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
erichoracek committed May 6, 2018
1 parent 26c36d4 commit 1bdf816
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Source/SwiftLintFramework/Rules/ClosureEndIndentationRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ internal struct ClosureEndIndentationRuleExamples {
" },\n" +
" anotherClosure: { y in\n" +
" print(y)\n" +
" })"
" })",
"self.asdf(asdf: .asdf, asdfasdfasdf: {\n" +
" asdfasdfasdfasdf })\n" +
"{ result in\n" +
" guard case .success = result else {\n" +
" return\n" +
" }\n" +
"\n" +
" self.asdfasdfasdf(asdfasdfasdfasdf: true) {\n" +
" asdfasdfASDFasdfasdf\n" +
" }\n" +
"}"
]

static let triggeringExamples = [
Expand Down

0 comments on commit 1bdf816

Please sign in to comment.