The Inbox: ShoutTests-ct.30.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: ShoutTests-ct.30.mcz

commits-2
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' ']').!