[Pkg] The Trunk: CollectionsTests-eem.287.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Dec 22 10:14:43 UTC 2017


Eliot Miranda uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-eem.287.mcz

==================== Summary ====================

Name: CollectionsTests-eem.287
Author: eem
Time: 22 December 2017, 2:14:32.454096 am
UUID: 4ae7ecb8-a1b6-474b-a90a-b35d04536b8a
Ancestors: CollectionsTests-eem.286

Fix ByteArrayTest>>testFallbackReplaceFromToWith

=============== Diff against CollectionsTests-eem.286 ===============

Item was changed:
  ----- Method: ByteArrayTest>>testFallbackReplaceFromToWith (in category 'testing') -----
  testFallbackReplaceFromToWith
  	| teststring ba sz cm |
+ 	teststring := 'Test string' asByteArray.
+ 	sz := teststring byteSize.
- 	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'
  !



More information about the Packages mailing list