Remove all leading dots and spaces

This commit is contained in:
Alex Ling
2021-09-09 00:13:58 +00:00
parent ccf558eaa7
commit 566cebfcdd
2 changed files with 2 additions and 2 deletions

View File

@@ -68,6 +68,6 @@ describe "sanitize_filename" do
end
it "sanitizes correctly" do
sanitize_filename(".. \n\v.\rマンゴー/|*()<[1/2] 3.14 hello world ")
.should eq " . マンゴー_()[1_2] 3.14 hello world"
.should eq "マンゴー_()[1_2] 3.14 hello world"
end
end