mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
fix file.remove_ext
This commit is contained in:
parent
60f184ae43
commit
b9b17358a1
2 changed files with 6 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ debug.log("file extension")
|
|||
asserts.equals(nil, file.ext("config:test"))
|
||||
asserts.equals("cfg", file.ext("config:test.cfg"))
|
||||
asserts.equals("gz", file.ext("config:test.cfg.gz"))
|
||||
asserts.equals("config:test.cfg", file.remove_ext("config:test.cfg.gz"))
|
||||
|
||||
debug.log("check initial state")
|
||||
assert(file.exists("config:"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue