Skip to content

Commit 7c31d5f

Browse files
Add constructor calls to fix test build errors
1 parent 1b7c541 commit 7c31d5f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ValidatorTests/ValidatorTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ class ValidatorTests: XCTestCase {
3535
let LEN_20 = "Paint the cat orange"
3636

3737
let REGISTER_TXT_FIELD = UITextField()
38-
let REGISTER_VALIDATOR = Validator
38+
let REGISTER_VALIDATOR = Validator()
3939
let REGISTER_RULES = [Rule]()
4040

4141
let UNREGISTER_TXT_FIELD = UITextField()
42-
let UNREGISTER_VALIDATOR = Validator
42+
let UNREGISTER_VALIDATOR = Validator()
4343
let UNREGISTER_RULES = [Rule]()
4444

4545
let UNREGISTER_ERRORS_TXT_FIELD = UITextField()
46-
let UNREGISTER_ERRORS_VALIDATOR = Validator
46+
let UNREGISTER_ERRORS_VALIDATOR = Validator()
4747

4848
let ERROR_LABEL = UILabel()
4949

0 commit comments

Comments
 (0)