Skip to content

Commit

Permalink
Avoid line_length violation
Browse files Browse the repository at this point in the history
  • Loading branch information
norio-nomura committed Dec 1, 2016
1 parent 5237110 commit 6ba6be2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/SwiftLintFrameworkTests/TestHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ extension XCTestCase {

// Assert locations missing vaiolation
let violatedLocations = triggerViolations.map { $0.location }
let locationsWithoutViolation = expectedLocations.filter { !violatedLocations.contains($0) }
let locationsWithoutViolation = expectedLocations
.filter { !violatedLocations.contains($0) }
if !locationsWithoutViolation.isEmpty {
XCTFail("triggeringExample did not violate at expected location: \n" +
"\(render(locations: locationsWithoutViolation, in: cleanTrigger))")
Expand Down

0 comments on commit 6ba6be2

Please sign in to comment.