Skip to content

Commit

Permalink
add new test
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Jun 26, 2024
1 parent 1e34537 commit 05da500
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ func TestValidFileName(t *testing.T) {
assert.True(t, ValidFileName("[something].csl"))
// contains regular characters
assert.True(t, ValidFileName("[(something)].csl"))
assert.True(t, ValidFileName("_index_slash_ssl.html"))
// contains invisible character
assert.False(t, ValidFileName("D中文.cslouglas​"))
}

0 comments on commit 05da500

Please sign in to comment.