Created
June 22, 2023 11:05
-
-
Save xiangyu-sun/9476c3b3a6501c99e8ccaac1491022f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expect\(([^\)]+)\)\.to\(beFalse\(\)\) | |
XCTAssertFalse($1) | |
expect\(([^\)]+)\)\.to\(beTrue\(\)\) | |
XCTAssertTrue($1) | |
fail\(([^\)]+)\) | |
XCTFail($1) | |
expect\(([^\)]+)\)\.to\(equal\(([^\)]+)\)\) | |
XCTAssertEqual($1, $2) | |
expect\(([^\)]+)\)\.to\(be\(([^\)]+)\)\) | |
XCTAssertIdentical($1, $2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment