Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 07bff9c36ac74dfa09e0f426659302304f0834fa
https://github.com/Perl/perl5/commit/07bff9c36ac74dfa09e0f426659302304f0834fa
Author: James E Keenan <[email protected]>
Date: 2024-01-01 (Mon, 01 Jan 2024)
Changed paths:
M ext/File-Glob/Glob.pm
M ext/File-Glob/t/basic.t
M ext/File-Glob/t/global.t
Log Message:
-----------
File-Glob: exercise GLOB_MARK, GLOB_NOCHECK, etc.
For GH #21744
t/basic.t:
* Exercise GLOB_NOCHECK flag, without and with GLOB_QUOTE flag.
* Move one particular assignment to '@a' was only used within
the subsequent SKIP block. For consistency with other SKIP blocks, move
list assignment to within the block.
* Exercise GLOB_NOSORT flag, thereby confirming that it is the default
sorting mechanism. There is, of course, a slight chance that using
GLOB_NOSORT will return names in the same order as the default
GLOB_ALPHASORT. So the best we can do is to confirm that the same names
were returned in each instance.
* Explicitly test GLOB_ALPHASORT
t/global.t:
* Provide descriptions for two unit tests previously lacking
them.
Corrections:
* t/basic.t: Tidy leading whitespace
* Glob.pm: One-character typo
* Increment $VERSION.
* Correct count within SKIP block