1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-05-08 14:16:00 +02:00

Add field name to fix.newlines output

This commit is contained in:
2021-10-08 14:36:23 +03:00
parent 82261f7fe0
commit 787fa9e8d9
3 changed files with 5 additions and 4 deletions

View File

@ -76,8 +76,9 @@ def test_fix_newlines():
value = """Ken
ya"""
field_name = "dcterms.subject"
assert fix.newlines(value) == "Kenya"
assert fix.newlines(value, field_name) == "Kenya"
def test_fix_comma_space():