The Trunk: ShoutTests-ct.32.mcz

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

The Trunk: ShoutTests-ct.32.mcz

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

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

Name: ShoutTests-ct.32
Author: ct
Time: 2 October 2019, 2:11:16.386339 pm
UUID: bfb233d2-c00e-be47-bdee-f59d3a0687e6
Ancestors: ShoutTests-ct.31

Refines and extends #testContextDependentStyling

Thanks to Levente!

=============== Diff against ShoutTests-ct.31 ===============

Item was changed:
  ----- 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 := 'foo t1.t2.t3.t4'.
- dependentSource := 't1.t2.t3.t4'.
 
  parser := SHParserST80 new.
+ parser parseAMethod: true.
  ranges := parser rangesIn: dependentSource classOrMetaClass: nil workspace: nil environment: nil context: context.
  types := ranges collect: #type as: Array.
  self
+ assert: #(patternUnary blockArg statementSeparator blockTempVar statementSeparator blockArg statementSeparator blockTempVar)
- assert: #(methodArg statementSeparator tempVar statementSeparator methodArg statementSeparator tempVar)
  equals: types.!