Skip to content

Commit 5fa014d

Browse files
author
oykusuoglu
committed
fix in a test
1 parent 9a2749e commit 5fa014d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ def test_wrong_edit_distance():
1616
assert 1 == 0 # This test is designed to fail.
1717

1818

19-
@pytest.mark.skip(reason="This decorator should be removed when test passes.")
19+
# @pytest.mark.skip(reason="This decorator should be removed when test passes.")
2020
@pytest.mark.parametrize(
2121
"output, expected",
2222
[
2323
# Test identical strings
2424
(ed.edit_distance(string1="kitten", string2="kitten"), 0),
2525
# Test insertion
26-
(ed.edit_distance(string1="kitten", string2="kittens"), 0),
26+
(ed.edit_distance(string1="kitten", string2="kittens"), 1),
2727
# Test deletion
2828
(ed.edit_distance(string1="hello", string2="hllo"), 1),
2929
# Test substition

0 commit comments

Comments
 (0)