Skip to content

Instantly share code, notes, and snippets.

@lukeredpath
Created February 20, 2017 12:35
Show Gist options
  • Save lukeredpath/98f43692847dd7c0e19fff141cc44b5e to your computer and use it in GitHub Desktop.
Save lukeredpath/98f43692847dd7c0e19fff141cc44b5e to your computer and use it in GitHub Desktop.
let collection: Array<Int> = [1, 2, 3]
let optionalCollection: Array<Int>? = .None
expect(optionalCollection).to(equal(collection)) # fail: expected [1,2,3], got <nil>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment