From d5861edc84a0acb00292ab99022829a141847fd0 Mon Sep 17 00:00:00 2001 From: Jade Michael Thornton Date: Tue, 19 Mar 2019 17:21:30 -0500 Subject: [PATCH] add more specific tests for username regex challenge (#34655) * add more specific tests for username regex challenge * fix: removed unnecessary test --- .../regular-expressions/restrict-possible-usernames.english.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.english.md index 29082b246b..316ee0542b 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.english.md @@ -27,6 +27,8 @@ tests: testString: assert(userCheck.test("JACK"), 'Your regex should match JACK'); - text: Your regex should not match J testString: assert(!userCheck.test("J"), 'Your regex should not match J'); + - text: Your regex should match Jo + testString: assert(userCheck.test("Jo"), 'Your regex should match Jo'); - text: Your regex should match Oceans11 testString: assert(userCheck.test("Oceans11"), 'Your regex should match Oceans11'); - text: Your regex should match RegexGuru