[squeak-dev] The Trunk: ShoutTests-ct.31.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Oct 2 12:41:48 UTC 2019


Levente Uzonyi uploaded a new version of ShoutTests to project The Trunk:
http://source.squeak.org/trunk/ShoutTests-ct.31.mcz

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

Name: ShoutTests-ct.31
Author: ct
Time: 28 September 2019, 11:54:07.31477 pm
UUID: 2f971ebd-b9c3-6c44-9257-acb9d275aa7c
Ancestors: ShoutTests-ul.29

Regression test for bug fixed in ShoutCore-ct.73

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

Item was added:
+ ----- Method: SHParserST80Test>>testContextDependentStyling (in category 'tests') -----
+ testContextDependentStyling
+ 	
+ 	| context contextSource dependentSource parser ranges types |
+ 	contextSource := '[:t1| |t2| [:t3| |t4| thisContext copy] value: 7] value: 6'.
+ 	context := Compiler evaluate: contextSource.
+ 	dependentSource := 't1.t2.t3.t4'.
+ 	
+ 	parser := SHParserST80 new.
+ 	ranges := parser rangesIn: dependentSource classOrMetaClass: nil workspace: nil environment: nil context: context.
+ 	types := ranges collect: #type as: Array.
+ 	self
+ 		assert: #(methodArg statementSeparator tempVar statementSeparator methodArg statementSeparator tempVar)
+ 		equals: types.!



More information about the Squeak-dev mailing list