mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Add test for app.fs.fileExtension
This commit is contained in:
parent
1db7233496
commit
ade7285ff6
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user