add more specific tests for username regex challenge (#34655)

* add more specific tests for username regex challenge

* fix: removed unnecessary test
This commit is contained in:
Jade Michael Thornton
2019-03-19 17:21:30 -05:00
committed by Randell Dawson
parent df9bc7e1b5
commit d5861edc84

View File

@ -27,6 +27,8 @@ tests:
testString: assert(userCheck.test("JACK"), 'Your regex should match <code>JACK</code>');
- text: Your regex should not match <code>J</code>
testString: assert(!userCheck.test("J"), 'Your regex should not match <code>J</code>');
- text: Your regex should match <code>Jo</code>
testString: assert(userCheck.test("Jo"), 'Your regex should match <code>Jo</code>');
- text: Your regex should match <code>Oceans11</code>
testString: assert(userCheck.test("Oceans11"), 'Your regex should match <code>Oceans11</code>');
- text: Your regex should match <code>RegexGuru</code>