mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 08:37:58 +02:00
tests: add another test for TestTrimFileName.
This commit is contained in:
parent
840389dad3
commit
6df7e87568
@ -127,6 +127,7 @@ procedure TTestLazFileUtils.TestTrimFileName;
|
||||
begin
|
||||
{$ifdef windows}
|
||||
DoTest('c:\LazarusDir\..\dir\','c:\dir\');
|
||||
DoTest('c:\..','c:\'); //yes Windows actually treats it as that.
|
||||
{$endif}
|
||||
DoTest('$(LazarusDir)\..\dir\','$(LazarusDir)\..\dir\');
|
||||
DoTest(' a ','a');
|
||||
|
Loading…
Reference in New Issue
Block a user