[squeak-dev] The Inbox: Tests-tobe.445.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 11 12:51:23 UTC 2021


A new version of Tests was added to project The Inbox:
http://source.squeak.org/inbox/Tests-tobe.445.mcz

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

Name: Tests-tobe.445
Author: tobe
Time: 11 March 2021, 1:51:19.457627 pm
UUID: e5547bc0-8f7f-4880-b3bc-a18fdb625c3b
Ancestors: Tests-mt.444

Complements Compiler-tobe.455

=============== Diff against Tests-mt.444 ===============

Item was added:
+ ----- Method: ScannerTest>>testScanTokensRepeatingComment (in category 'tests') -----
+ testScanTokensRepeatingComment
+ 
+ 	| ranges |
+ 	ranges := Array streamContents: [:stream |
+ 		Scanner new scanTokenPositionsIn: '''packages''. "packages" 222' into: [:start :end | stream nextPut: (start to: end)]].
+ 	
+ 	self assert: (ranges hasEqualElements: {1 to: 10. 11 to: 11. 13 to: 22. 24 to: 26. (27 to: 26)})!



More information about the Squeak-dev mailing list