Skip to content

Fix typo and add tests for bonfire Arguments Optional#416

Merged
terakilobyte merged 1 commit intofreeCodeCamp:stagingfrom
pahlsson:pahlsson-bonfire-args-optional-fix
May 5, 2015
Merged

Fix typo and add tests for bonfire Arguments Optional#416
terakilobyte merged 1 commit intofreeCodeCamp:stagingfrom
pahlsson:pahlsson-bonfire-args-optional-fix

Conversation

@pahlsson
Copy link
Copy Markdown
Contributor

@pahlsson pahlsson commented May 5, 2015

The instructions for the bonfire Arguments Optional say to return undefined when either argument isn't a valid number, but the tests only cover the first argument.

This adds tests for the second argument as well, and fixes a typo.

Add tests for the second argument and fix a typo.
@terakilobyte
Copy link
Copy Markdown
Contributor

The typo is a good fix, but I'd like to ask if you tested this. I attempted to run this code and it failed to verify correctly.

terakilobyte added a commit that referenced this pull request May 5, 2015
Fix typo and add tests for bonfire Arguments Optional
@terakilobyte terakilobyte merged commit f204e48 into freeCodeCamp:staging May 5, 2015
@terakilobyte terakilobyte removed the todo label May 5, 2015
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.

3 participants