Skip to content

Commit 1ae08c3

Browse files
Fix Korean filename test: 84 chars / 144 bytes (fits ext4 255-byte limit)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c0d4385 commit 1ae08c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/test_backup_redesign.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def test_korean_unicode_doc_name(tmp_path):
131131

132132

133133
def test_very_long_doc_name_gets_hash_suffix_and_breadcrumb(tmp_path):
134-
name = "아주 긴 한글 " * 4 + "final draft.docx" # long but within ext4 255-byte limit
135-
assert len(name) > 50
134+
name = "아주_긴_한글_" * 6 + "final_draft.docx" # >80 chars, within ext4 255-byte limit
135+
assert len(name) > 80
136136
doc = _make_doc(tmp_path, name)
137137
srv.insert_paragraphs(str(doc), [{"text": "long name content"}], at_end=True)
138138
d = safesave.slot_dir(doc)

0 commit comments

Comments
 (0)