Tim Felgentreff uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-tfel.238.mcz==================== Summary ====================
Name: CollectionsTests-tfel.238
Author: tfel
Time: 9 April 2015, 9:07:05.355 am
UUID: 7e048af5-d12e-ce41-b1c1-de810b6def31
Ancestors: CollectionsTests-topa.237
Add a test to check that running the fallback code for ByteArray>>#replaceFrom:to:with:startingAt: actually works, because primitive 105 is supposed to be optional
=============== Diff against CollectionsTests-topa.237 ===============
Item was added:
+ ----- Method: ByteArrayTest>>testFallbackReplaceFromToWith (in category 'testing') -----
+ testFallbackReplaceFromToWith
+ | teststring ba sz cm |
+ teststring := 'Test string'.
+ sz := 'Test string' byteSize.
+ ba := ByteArray new: sz.
+ cm := SequenceableCollection compiledMethodAt: #replaceFrom:to:with:startingAt:.
+ self shouldnt: [cm valueWithReceiver: ba arguments: {1. sz. teststring. 1}]
+ raise: Exception
+ description: 'Primitive 105 should be optional for ByteArray'
+ !