Skip to content

Commit 7bf7873

Browse files
committed
test: add case for handling filenames with \\ in sanitized title #706
1 parent 1c46a0a commit 7bf7873

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adapters/googlePhotos/json_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ func TestSanitizedTitle(t *testing.T) {
641641
{input: "Hello:World", expected: "Hello_World"},
642642
{input: "Hello\nWorld", expected: "Hello_World"},
643643
{input: "Some/File|Name?", expected: "Some_File_Name_"},
644+
{input: "123123\\.JPG", expected: "123123_.JPG"},
644645
}
645646

646647
for _, c := range cases {

0 commit comments

Comments
 (0)