<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-18 23:21 GMT+01:00 Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 17 February 2014 22:35,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>

&gt; Chris Muller uploaded a new version of Tests to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/Tests-cmm.290.mcz" target="_blank">http://source.squeak.org/trunk/Tests-cmm.290.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Tests-cmm.290<br>
&gt; Author: cmm<br>
&gt; Time: 17 February 2014, 4:35:24.565 pm<br>
&gt; UUID: f3fccfae-6baf-4093-ba62-e15ef110a687<br>
&gt; Ancestors: Tests-cwp.289<br>
&gt;<br>
&gt; Minor factoring.<br>
&gt;<br>
&gt; =============== Diff against Tests-cwp.289 ===============<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;   ----- Method: BlockLocalTemporariesRemovalTest&gt;&gt;assert:isChangedDuringParsingTo:withRemovalOfTemporariesNamed: (in category &#39;test helper&#39;) -----<br>
&gt; + assert: someCode isChangedDuringParsingTo: someOtherCode withRemovalOfTemporariesNamed: someTempNames<br>
&gt; - assert: someCode isChangedDuringParsingTo: someOtherCode withRemovalOfTemporariesNamed: someTempNames<br>
&gt; -<br>
&gt;         | failBlock |<br>
&gt;         self sourceCode: someCode.<br>
&gt; +       failBlock := [ self fail ].<br>
&gt; +       [ self class<br>
&gt; +               compile: self sourceCode<br>
&gt; +               notifying: self<br>
&gt; +               trailer: self class defaultMethodTrailer<br>
&gt; +               ifFail: failBlock ]<br>
&gt; -       failBlock := [self fail].<br>
&gt; -       [self class<br>
&gt; -                       compile: self sourceCode<br>
&gt; -                       notifying: self<br>
&gt; -                       trailer: self class defaultMethodTrailer<br>
&gt; -                       ifFail: failBlock]<br>
&gt;                 on: UnusedVariable<br>
&gt; +               do:<br>
&gt; +                       [ : aNotification | aNotification openMenuIn:<br>
&gt; +                               [ : options : emptyCollection : someText | aNotification resume:<br>
&gt; +                                       (someTempNames anySatisfy:<br>
&gt; +                                               [ : tempName | someText beginsWith: tempName ]) ] ].<br>
&gt; -               do: [:aNotification | aNotification<br>
&gt; -                               openMenuIn: [:options :emptyCollection :someText |<br>
&gt; -                                       (someTempNames anySatisfy: [:tempName | someText startsWith: tempName])<br>
&gt; -                                               ifTrue: [aNotification resume: true]<br>
&gt; -                                               ifFalse: [aNotification resume: false]]].<br>
&gt;         self assert: self sourceCode = someOtherCode!<br>
<br>
</div></div>Seriously, we need a better differ. If we pretty-printed the before &amp;<br>
after I&#39;d at least stand a chance of not going blind trying to find<br>
the change here. How difficult a change is it to SS? Surely a<br>
one-liner, to someone who knows the codebase (i.e., not me).<br>
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Frank, in this case you have to trust the comment: minot refactoring<br>(ifTrue: [true] ifFalse: [false]), there must be something simpler indeed...<br>
</div></div>