Add test for app.fs.fileExtension

This commit is contained in:
David Capello 2020-01-13 11:19:15 -03:00
parent 1db7233496
commit ade7285ff6

View File

@ -14,6 +14,8 @@ assert('first.png' == fs.fileName('first.png'))
assert('second.png' == fs.fileName('path/second.png'))
assert('third.png' == fs.fileName('C:\\path\\third.png'))
assert('png' == fs.fileExtension('path/file.png'))
assert('first' == fs.fileTitle('first.png'))
assert('second' == fs.fileTitle('path/second.png'))
assert('third' == fs.fileTitle('C:\\path\\third.png'))