fix: added new test case to prevent invalid regex (#37769)

This commit is contained in:
Randell Dawson
2019-11-25 17:25:24 -08:00
committed by Manish Giri
parent c1b3588e59
commit 98bb2c1085

View File

@ -45,6 +45,8 @@ tests:
testString: assert(!userCheck.test("BadUs3rnam3"));
- text: Your regex should match <code>Z97</code>
testString: assert(userCheck.test("Z97"));
- text: Your regex should not match <code>c57bT3</code>
testString: assert(!userCheck.test("c57bT3"));
```