Skip to content

Commit 975801d

Browse files
committed
Update test to support % in filename
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent e756f4f commit 975801d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def test_invalid_chars_with_invalid_in_name_and_dir(self):
147147
def test_invalid_chars_in_file_name(self):
148148
name = '%657!1351()275612$_$asafg:~|[]{}+-.'
149149
result = util.invalid_chars(name)
150-
expected = ['%', '!', '$', '$', ':']
150+
expected = ['!', '$', '$', ':']
151151
assert expected == result
152152

153153
def test_invalid_chars_with_space_is_valid(self):

0 commit comments

Comments
 (0)