-
-
Notifications
You must be signed in to change notification settings - Fork 35.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow closing brackets on the same line #13080
Allow closing brackets on the same line #13080
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajain17 Thanks for the quick fix! 😊
.*
works but I'm not sure if {
might be enough for this test?
Also \n*
will be covered by \s*
since newlines are whitespace.
@Greenheart @ajain17 I was going to go in favor of changing the first test to be: |
@@ -421,7 +421,7 @@ | |||
"assert(!code.match(/e\"\\);/g) && !code.match(/t\"\\);/g), 'message: Delete all three of your jQuery functions from your <code>document ready function</code>.');", |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Hi, sorry for the delay. was traveling. will do it today. |
Kind of indifferent. Sort of depends on if you feel the part in the between the |
2e2abc3
to
2d3f0aa
Compare
@@ -418,10 +418,10 @@ | |||
"</div>" | |||
], | |||
"tests": [ | |||
"assert(!code.match(/e\"\\);/g) && !code.match(/t\"\\);/g), 'message: Delete all three of your jQuery functions from your <code>document ready function</code>.');", | |||
"assert(code.match(/\\{\\s*\\}\\);/g), 'message: Delete allllll three of your jQuery functions from your <code>document ready function</code>.');", |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
2d3f0aa
to
3249f20
Compare
@Greenheart @dhcodes bump for a review. |
I'm not sure this ever got updated? @ajain17 |
@dhcodes I updated it about 16 days back. Let me know if anymore changes are needed. |
Okay. Camperbot was down so it was hard to tell. My bad, will test today. Thanks! |
Tested locally. LGTM Thanks for making this fix! 👍 💯 🌮 |
Pre-Submission Checklist
staging
branch of freeCodeCamp.fix/
,feature/
, ortranslate/
(e.g.fix/signin-issue
)npm test
. Usegit commit --amend
to amend any fixes.Type of Change
Checklist:
Description