mirror of https://gitee.com/bigwinds/arangodb
Resolved regex matches integration tests
This commit is contained in:
parent
1360cfc3c3
commit
9b926dc2fd
|
@ -640,7 +640,7 @@ function ahuacatlStringFunctionsTestSuite () {
|
|||
["th1s1s-wayt00_l0ngt0beausername", "^[a-z0-9_-]{3,16}$", false, null ],
|
||||
["myp4ssw0rd", "^[a-z0-9_-]{6,18}$", true, ["myp4ssw0rd"] ],
|
||||
["myp4ssw0rd", "^[a-z0-9_-]{6,18}$", false, ["myp4ssw0rd"] ],
|
||||
["myP4ssw0rD", "^[a-z0-9_-]{6,18}$", true, ["myp4ssw0rd"] ],
|
||||
["myP4ssw0rD", "^[a-z0-9_-]{6,18}$", true, ["myP4ssw0rD"] ],
|
||||
["myP4ssw0rD", "^[a-z0-9_-]{6,18}$", false, null ],
|
||||
["mypa$$w0rd", "^[a-z0-9_-]{6,18}$", true, null ],
|
||||
["mypa$$w0rd", "^[a-z0-9_-]{6,18}$", false, null ],
|
||||
|
@ -651,7 +651,7 @@ function ahuacatlStringFunctionsTestSuite () {
|
|||
["my-title-here", "^[a-z0-9-]+$", true, ["my-title-here"] ],
|
||||
["my-title-here", "^[a-z0-9-]+$", false, ["my-title-here"] ],
|
||||
["my-Title-Here", "^[a-z0-9-]+$", true, ["my-Title-Here"] ],
|
||||
["my-Title-Here", "^[a-z0-9-]+$", true, null ],
|
||||
["my-Title-Here", "^[a-z0-9-]+$", false, null ],
|
||||
["john@doe.com", "^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$", true, ["john@doe.com", "john", "doe.", "om"] ],
|
||||
["john@doe.com", "^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$", false, ["john@doe.com", "john", "doe.", "om"] ],
|
||||
["jOhn@doe.com", "^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$", true, ["jOhn@doe.com", "jOhn", "doe.", "om"] ],
|
||||
|
|
Loading…
Reference in New Issue