Skip to content
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

Improves check for catphotoapp.com in 'Link to External Pages with Anchor Elements' #938

Merged
merged 1 commit into from Jun 19, 2015

Conversation

ahstro
Copy link
Member

@ahstro ahstro commented Jun 15, 2015

Makes the test case look for the case-insensitive "http://catphotoapp.com" instead of just "com" in the anchor's href attribute. I chose to use the global, case-insensitive regex instead of just $('a').attr('href') === 'http://catphotoapp.com' because it gives the user a bit more freedom (see trailing backslashes etc.) and I've seen it used in other test cases. Let me know if you want a stricter or looser test and I'll change it.

Fixes #914.

QuincyLarson pushed a commit that referenced this pull request Jun 19, 2015
Improves check for catphotoapp.com in 'Link to External Pages with Anchor Elements'
@QuincyLarson QuincyLarson merged commit a339c1b into freeCodeCamp:staging Jun 19, 2015
@ahstro ahstro deleted the lumenteun-914 branch June 20, 2015 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants