<div dir="ltr">I seem to have failed. I was attempting to save a different version with just the second method - but somehow the earlier version was saved instead (definitely user failure, not tool failure).<div>Would an admin like to delete this right now, or would you prefer I update to the corrected version (removing #testHashBug3380)?</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 15, 2018 at 9:48 PM <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Chris Cunningham uploaded a new version of CollectionsTests to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/CollectionsTests-cbc.296.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/CollectionsTests-cbc.296.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: CollectionsTests-cbc.296<br>
Author: cbc<br>
Time: 28 October 2018, 5:12:30.875512 pm<br>
UUID: 12a1d6bf-85c7-8d40-aa1c-022556c1cb18<br>
Ancestors: CollectionsTests-topa.295<br>
<br>
Test for #hash and #= bugs.  In anticipation of fixing these.<br>
<br>
=============== Diff against CollectionsTests-topa.295 ===============<br>
<br>
Item was added:<br>
+ ----- Method: IntervalTest>>testHashBug3380 (in category 'tests') -----<br>
+ testHashBug3380<br>
+       "Array and Interval equate, but their hashes didn't.  Test that this is fixed.<br>
+       It is about mantis bug <a href="http://bugs.squeak.org/view.php?id=6455" rel="noreferrer" target="_blank">http://bugs.squeak.org/view.php?id=6455</a>"<br>
+       | interval array |<br>
+       interval := (1 to: 3).<br>
+       array:= #(1 2 3).<br>
+       self assert: interval equals: array.<br>
+       self assert: interval hash equals: array hash.!<br>
<br>
Item was added:<br>
+ ----- Method: IntervalTest>>testHashEqualIfIntervalEqual (in category 'tests') -----<br>
+ testHashEqualIfIntervalEqual<br>
+       | interval1 interval2 |<br>
+       interval1 := 0 to: 1.<br>
+       interval2 := 0 to: 5/3. "Taken from an actual issue in an image"<br>
+       self assert: interval1 equals: interval2.<br>
+       self assert: interval1 hash equals: interval2 hash.!<br>
<br>
<br>
</blockquote></div>