mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-12 15:03:48 -05:00
fix(notes): preserve file encoding when writing to filesystem (#59)
This commit is contained in:
@@ -34,7 +34,7 @@ def test_create_note_1(sample_note):
|
||||
assert note.note_path == Path(sample_note)
|
||||
assert note.dry_run is True
|
||||
assert note.encoding == "utf_8"
|
||||
assert len(note.metadata) == 20
|
||||
assert len(note.metadata) == 22
|
||||
|
||||
with sample_note.open():
|
||||
content = sample_note.read_text()
|
||||
|
||||
Reference in New Issue
Block a user