Unit tests have a slight change to match up with std::filesystem::path::extension. In particular, there must be a stem before any . before anything is considered an extension.
Note: On Linux, a leading . is used to represent a normally hidden file or folder, much like the Hidden attribute on Windows. For example, the Linux makefile places intermediate files in a .build/ folder. In this case, the whole filename is considered the stem, and there is no extension. The leading . here is used to denote a hidden file, not the start of an extension with no stem for the filename.
Unit tests have a slight change to match up with
std::filesystem::path::extension
. In particular, there must be astem
before any.
before anything is considered anextension
.Note: On Linux, a leading
.
is used to represent a normally hidden file or folder, much like the Hidden attribute on Windows. For example, the Linuxmakefile
places intermediate files in a.build/
folder. In this case, the whole filename is considered thestem
, and there is no extension. The leading.
here is used to denote a hidden file, not the start of an extension with nostem
for thefilename
.Noticed this while working on PR #1077.