Skip to content

Commit

Permalink
Merge pull request #200 from iflix-letsplay/upgrade-for-swiftlint-0.16.1
Browse files Browse the repository at this point in the history
Fix build failure when used with SwiftLint 0.16.1
  • Loading branch information
Ben-G committed Jan 30, 2017
2 parents ba34b68 + 4f01964 commit cdf2019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReSwiftTests/StoreMiddlewareTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let firstMiddleware: Middleware = { dispatch, getState in
return { action in

if var action = action as? SetValueStringAction {
action.value = action.value + " First Middleware"
action.value += " First Middleware"
return next(action)
} else {
return next(action)
Expand All @@ -28,7 +28,7 @@ let secondMiddleware: Middleware = { dispatch, getState in
return { action in

if var action = action as? SetValueStringAction {
action.value = action.value + " Second Middleware"
action.value += " Second Middleware"
return next(action)
} else {
return next(action)
Expand Down

0 comments on commit cdf2019

Please sign in to comment.