Skip to content

Commit

Permalink
Work around compiler crasher
Browse files Browse the repository at this point in the history
  • Loading branch information
briancroom committed Mar 6, 2016
1 parent 1e7641c commit 0bd445e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Nimble/Matchers/Equal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public func equal<T: Equatable>(expectedValue: [T?]) -> NonNilMatcherFunc<[T?]>

/// A Nimble matcher that succeeds when the actual set is equal to the expected set.
public func equal<T>(expectedValue: Set<T>?) -> NonNilMatcherFunc<Set<T>> {
return equal(expectedValue, stringify: stringify)
return equal(expectedValue, stringify: { stringify($0) })
}

/// A Nimble matcher that succeeds when the actual set is equal to the expected set.
Expand Down

0 comments on commit 0bd445e

Please sign in to comment.