Skip to content

Commit bc65f7c

Browse files
committed
fix: correct base filename length for validation test
1 parent 2153806 commit bc65f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_edge_case_exact_length(self):
6363
The function should leave such a filename unchanged.
6464
"""
6565
# Create a filename that is exactly 255 characters long.
66-
base = "b" * 250 # 250 characters for base
66+
base = "b" * 251 # 250 characters for base
6767
original = f"{base}.png" # This may reach exactly or slightly above 255 depending on slugification
6868
result = get_valid_filename(original)
6969
# We check that the final result does not exceed 255 characters.

0 commit comments

Comments
 (0)