Skip to content

Commit

Permalink
Hopefully this fixes the travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobast committed Nov 30, 2016
1 parent d497495 commit 61e4422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HaveValidSnapshot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ func _getDefaultReferenceDirectory(_ sourceFileName: String) -> String {
let folderPath = folderPathComponents.componentsJoinedByString("/")
#endif

_setDefaultFailureDiffsDirectory(testTargetFolderPath: folderPath)
_setDefaultFailureDiffsDirectory(folderPath)

return folderPath + "/ReferenceImages"
}

func _setDefaultFailureDiffsDirectory(testTargetFolderPath: String) {
func _setDefaultFailureDiffsDirectory(_ testTargetFolderPath: String) {
setenv("IMAGE_DIFF_DIR", "\(testTargetFolderPath)/FailureDiffs", 0)
}

Expand Down

0 comments on commit 61e4422

Please sign in to comment.