Created
June 4, 2017 01:35
-
-
Save chriswebb09/d863a220c44a1f882357dddd3966d792 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import XCTest | |
@testable import TestExample | |
class TestExampleTests: XCTestCase { | |
func testEmail() { | |
XCTAssertTrue("[email protected]".isValidEmail()) | |
XCTAssertFalse("chris.com".isValidEmail()) | |
XCTAssertFalse("chris@gmaill".isValidEmail()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment