mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 11:10:23 +02:00
LazUtils: TestMasks: adjust test after changes in #78148e42.
This commit is contained in:
parent
3d0b1cc901
commit
d29512ae6b
@ -281,7 +281,7 @@ begin
|
|||||||
TestMask('a?c', '?\??', False);
|
TestMask('a?c', '?\??', False);
|
||||||
TestMask('ab*.x', '??\*.x', False);
|
TestMask('ab*.x', '??\*.x', False);
|
||||||
TestMask('x \ y', '? \\ ?', False);
|
TestMask('x \ y', '? \\ ?', False);
|
||||||
TestMask('abc', '?[?]?', False);
|
TestMask('abc', '?[?]?', True); //mocAnyCharOrNone is enabled in DefaultMaskOpCodes
|
||||||
TestMask('a??d', '?[?]?', False);
|
TestMask('a??d', '?[?]?', False);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -314,7 +314,7 @@ begin
|
|||||||
TestMaskWindows('abcd.txt', 'abc*', True);
|
TestMaskWindows('abcd.txt', 'abc*', True);
|
||||||
TestMaskWindows('abc.pas.bak', '*.bak', True);
|
TestMaskWindows('abc.pas.bak', '*.bak', True);
|
||||||
TestMaskWindows('C:\x', 'C:\x', True);
|
TestMaskWindows('C:\x', 'C:\x', True);
|
||||||
TestMaskWindows('C:\ab[c]d', 'C:*[*]*', True);
|
TestMaskWindows('C:\ab[c]d', 'C:*[*]*', False); //sets and ranges are enabled by default on TWindowsMaks as well
|
||||||
TestMaskWindows('', '*', True);
|
TestMaskWindows('', '*', True);
|
||||||
TestMaskWindows('', '?', True);
|
TestMaskWindows('', '?', True);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user