[Pkg] The Trunk: CollectionsTests-nice.205.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 30 23:06:21 UTC 2013


Nicolas Cellier uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-nice.205.mcz

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

Name: CollectionsTests-nice.205
Author: nice
Time: 31 May 2013, 1:05:58.534 am
UUID: 9eb181ab-8e91-473a-8662-d59c355f3cfb
Ancestors: CollectionsTests-nice.204

Better use allByteCharacters than allCharacters.
They do the same, but second one is misleading, not all Characters are byte now.

=============== Diff against CollectionsTests-nice.204 ===============

Item was changed:
  ----- Method: CharacterTest>>testPrintStringAll (in category 'testing-printing') -----
  testPrintStringAll
+ 	Character allByteCharacters do: [ :each |
- 	Character allCharacters do: [ :each |
  		self assert: (self class newCompiler 
  			evaluate: each printString) = each ].!

Item was changed:
  ----- Method: CharacterTest>>testStoreStringAll (in category 'testing-printing') -----
  testStoreStringAll
+ 	Character allByteCharacters do: [ :each |
- 	Character allCharacters do: [ :each |
  		self assert: (self class newCompiler 
  			evaluate: each storeString) = each ].!



More information about the Packages mailing list