Skip to content

Instantly share code, notes, and snippets.

@polac24
Last active April 3, 2019 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save polac24/630ebb9883cd0f6bb2d4dd6ba6ba14fb to your computer and use it in GitHub Desktop.
Save polac24/630ebb9883cd0f6bb2d4dd6ba6ba14fb to your computer and use it in GitHub Desktop.
// Currently
XCTAssertEqual(addUserArgs[0], "myuser1")
XCTAssertEqual(addUserArgs[1], "myuser2")
XCTAssertEqual(addUserArgs.count, 2)
// Nice to have
XCTAssertEqual(addUserArgs, ["myuser1", "myuser2"]) // ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment