[squeak-dev] The Inbox: ShoutTests-ct.30.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 14 20:56:59 UTC 2019


A new version of ShoutTests was added to project The Inbox:
http://source.squeak.org/inbox/ShoutTests-ct.30.mcz

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

Name: ShoutTests-ct.30
Author: ct
Time: 14 August 2019, 10:56:57.7354 pm
UUID: 58907097-e16b-4341-b429-bb4310667e80
Ancestors: ShoutTests-ul.29

Add regression test for bug fixed in ShoutCore-ct.70

=============== Diff against ShoutTests-ul.29 ===============

Item was added:
+ ----- Method: SHParserST80Test>>testParseBlockWithArgumentWithoutStatements (in category 'tests') -----
+ testParseBlockWithArgumentWithoutStatements
+ 
+ 	| types tokens s |
+ 	s := 'x [:x]'.
+ 	types := self tokenTypesIn: s.
+ 	tokens := self tokensIn: s. 
+ 	self assert: types = #(patternUnary blockStart blockArgColon blockPatternArg blockEnd).
+ 	self assert: tokens = #('x' '[' ':' 'x' ']').!



More information about the Squeak-dev mailing list