<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 8:03 AM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&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>
&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></blockquote><div><br></div><div>Right. #bindingOf: should return nil. The test is wrong. </div><div><br></div><div>But... I swear I changed that test.</div></div>
</div></div>