test: cover path.basename when path and ext are the same
In path.basename was a case when the path and the extension is the same and this wasn't covered with tests.
I covered this case both in Windows and Unix environments.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines