Skip to content

Fix incorrect test for _01_05_OneAway and add test for identical strings #2

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

Open
wants to merge 1 commit into
base: practice
Choose a base branch
from

Conversation

mimkorn
Copy link

@mimkorn mimkorn commented Sep 29, 2019

Hi,
based on the exercise description we should only evaluate to true, if two strings are one edit away from each other. Two empty strings are not, they are identical.
I added one more test that checks that two identical non-empty strings are evaluated as not one edit away from each other.

If you're happy with this, feel free to pull.

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.

1 participant