Browse Source

test(clean_the_list): fix wrong test

DEV-4397-piscine-ai-missing-file-for-ex-7-of-nlp
eslopfer 1 year ago
parent
commit
da556a6082
  1. 2
      sh/tests/clean_the_list_test.py

2
sh/tests/clean_the_list_test.py

@ -26,5 +26,5 @@ def test_missing_milk():
def test_word_with_space():
shopping_list = ['tooth brush', 'hand sanitizer', 'milk', 'toilet paper']
expected_output = ['1x/ Tooth brush', '2x/ Hand sanitizer', '3x/ Milk', '4x/ Toilet Paper']
expected_output = ['1/ Tooth brush', '2/ Hand sanitizer', '3/ Milk', '4/ Toilet Paper']
assert clean_list(shopping_list) == expected_output

Loading…
Cancel
Save