Skip to content

Instantly share code, notes, and snippets.

@cjnevin
Created November 1, 2022 03:21
Show Gist options
  • Save cjnevin/78c5d74657c032f37346198b5b4738c1 to your computer and use it in GitHub Desktop.
Save cjnevin/78c5d74657c032f37346198b5b4738c1 to your computer and use it in GitHub Desktop.
func == <T: Equatable>(lhs: Assert<T>, rhs: T) {
lhs.equal(to: rhs)
}
// usage:
assert(actual) == expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment