mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 20:39:43 +02:00
* don't check for returned string in case of wildcards and multiple matches (order depends on the underlying filesystem and not guaranteed)
git-svn-id: trunk@21493 -
This commit is contained in:
parent
7d3294b504
commit
95bb7a9129
@ -139,11 +139,8 @@ begin
|
||||
TestExpFNC ('testfile2.tst', ExpandFileName ('testFile2.tst'), mkAmbiguous)
|
||||
else
|
||||
TestExpFNC ('testfile2.tst', ExpandFileName ('testFile2.tst'), mkExactMatch);
|
||||
if FileNameCaseSensitive then
|
||||
TestExpFNC ('*File2.tst', ExpandFileName ('TestFile2.tst'), mkExactMatch)
|
||||
else
|
||||
TestExpFNC ('*File2.tst', ExpandFileName ('testFile2.tst'), mkExactMatch);
|
||||
(* Return value depends on ordering of files in the particular filesystem used thus not checked *)
|
||||
TestExpFNC ('*File2.tst', '', mkExactMatch);
|
||||
if FileNameCaseSensitive then
|
||||
TestExpFNC ('*File*.tst', '', mkExactMatch)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user