help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] gst-sunit


From: Gwenaël Casaccio
Subject: Re: [Help-smalltalk] gst-sunit
Date: Mon, 08 Jul 2013 17:03:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

On 08/07/2013 16:50, Holger Hans Peter Freyther wrote:
On Tue, Jul 02, 2013 at 11:29:16AM +0200, Gwenaël Casaccio wrote:
Hi,

I've extended gst-sunit to run sunit with a package description file
thanks to the Holger patch.
look's great

            | pkg |
-           pkg := PackageLoader packageAt: arg.
+            (arg endsWith: '.xml')
+                ifTrue: [ pkg := PackageLoader loadPackageFromFile: Directory 
working / arg ]
+                ifFalse: [ pkg := PackageLoader packageAt: arg ].
mixing tabs/spaces? I think paolo pointed me to a book of kent beck that
argued for

    pkg := (arg endsWith: '.xml')
            ifTrue: [PackageLoader ...]
            ifFalse: [PackageLoader ...]

if you agree i will make these changes and apply.

I agree Holger :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]