<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014/1/9 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="im">On 9 January 2014 12:32,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt; Frank Shearar uploaded a new version of Tests to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/Tests-fbs.285.mcz" target="_blank">http://source.squeak.org/trunk/Tests-fbs.285.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Tests-fbs.285<br>
&gt; Author: fbs<br>
&gt; Time: 9 January 2014, 12:32:14.059 pm<br>
&gt; UUID: 8a2dc139-e417-ff40-8a02-1077909eff36<br>
&gt; Ancestors: Tests-fbs.284<br>
&gt;<br>
&gt; More &quot;more descriptive errors&quot; items: I missed these last time round.<br>
&gt;<br>
&gt; =============== Diff against Tests-fbs.284 ===============<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;   ----- Method: EnvironmentTest&gt;&gt;testUndeclare (in category &#39;binding tests&#39;) -----<br>
&gt;   testUndeclare<br>
&gt;         | one two |<br>
&gt;         one := env undeclare: #Griffle.<br>
&gt;         two := env bindingOf: #Griffle.<br>
&gt; +       self assert: two equals: one description: &#39;#bindingOf: value doesn&#39;&#39;t match that returned by #undeclare&#39;.<br>
&gt; -       self assert: one == two description: &#39;#bindingOf: value doesn&#39;&#39;t match that returned by #undeclare&#39;.<br></div></blockquote><div><br></div><div>asset:equals: or assert:identical: ?<br> <br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
&gt;         self assert: Global equals: one class description: &#39;Type of binding&#39;.<br>
&gt;         self assert: nil equals: one value description: &#39;Value of binding&#39;.!<br>
<br>
</div>This test checks, among other things, that the binding of an<br>
undeclared thing is the same object as the object you got back when<br>
you undeclared it.<br>
<br>
That&#39;s not true at the moment: if you undeclare Griffle, #undeclare:<br>
returns the binding, and #bindingOf: then returns nil.<br>
<br>
We could make the test pass by removing the first assert (or better,<br>
replacing the line with &quot; self assert: nil equals: two description:<br>
&#39;#bindingOf:&#39;.&quot;), but I thought it worth discussing first, before I<br>
did that.<br>
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
<br>
</font></span></blockquote></div><br></div></div>