[fpc-devel] StrUtils unit (is poorly implemented)

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 30 10:50:45 CEST 2010

On 30 Mar 2010, at 07:33, Flávio Etrusco wrote:

> 2010/3/29 Jonas Maebe <jonas.maebe at elis.ugent.be>:
>> If accompanied by tests :)
> First question: is there a rule for test project names? Is
> tstrutils1.pp ok? Do I have to register the file somewhere? (couldn't
> find anything about it on the wiki)

The name doesn't matter, since renaming a file is easy (it will be  
renamed by us to "tw<mantis bug nr>.pp"). The only requirement for the  
test is that it is a plain console app that returns a 0 exit code if  
successful, and a non-zero exit code if it fails.

> Second question: In current code, when ASubText is '', AnsiStartStr
> returns False and
> AnsiEndsStr returns True. Is this correct?

I don't know.


More information about the fpc-devel mailing list