commits | 17 Aug 2012 02:00
Favicon

The Trunk: Tests-cwp.159.mcz

Colin Putney uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-cwp.159.mcz

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

Name: Tests-cwp.159
Author: cwp
Time: 14 August 2012, 10:33:15.982 am
UUID: b081e01e-3063-4d7f-9804-eda9b599c6a8
Ancestors: Tests-cwp.158

Infix selectors can't include underscores, so remove those tests, and add one that ensures that a single
underscore is considered a unary message.

=============== Diff against Tests-cwp.157 ===============

Item was added:
+ ----- Method: UnderscoreSelectorsTest>>assertSelector:hasPrecedence: (in category 'support') -----
+ assertSelector: aSymbol hasPrecedence: expected
+ 	| actual |
+ 	actual := aSymbol precedence.
+ 	self assert: actual = expected!

Item was changed:
+ ----- Method: UnderscoreSelectorsTest>>pref:during: (in category 'support') -----
- ----- Method: UnderscoreSelectorsTest>>pref:during: (in category 'as yet unclassified') -----
  pref: aBoolean during: aBlock
  	| tmp |
  	tmp := Scanner prefAllowUnderscoreSelectors.
  	[Scanner prefAllowUnderscoreSelectors: aBoolean.
(Continue reading)


Gmane