Skip to content

Commit

Permalink
FIX: Adjust expected files so that they reflect actual proper output
Browse files Browse the repository at this point in the history
  • Loading branch information
DeutscheGabanna committed Aug 4, 2024
1 parent 4653edb commit 7384ad3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/daylio_to_md/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def validate_fieldnames(self, fieldnames, expected_fields) -> set[str]:
expected_field not in fieldnames
}
if len(missing_strings) > 0:
self.__logger.critical(CSV_FIELDS_MISSING.format(', '.join(missing_strings)))
self.logger.critical(CSV_FIELDS_MISSING.format(', '.join(missing_strings)))
raise InvalidDataInFileError(expected_fields, fieldnames)

self.logger.debug(CSV_ALL_FIELDS_PRESENT.format(', '.join(missing_strings)))
Expand Down
4 changes: 0 additions & 4 deletions tests/files/scenarios/ok/expect/2022-10-26.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
tags: daylio
---

## captivated | 22:00
#at-the-office #board-game #colleague-interaction #big-social-gathering
Sed ut est interdum

## tired | 20:00 | Mauris rutrum diam
#allegro #at-the-office #board-game #colleague-interaction #big-social-gathering
Quisque dictum odio quis augue consectetur, at convallis żodio aliquam.
Expand Down

0 comments on commit 7384ad3

Please sign in to comment.