[Pkg] The Trunk: Tests-mt.424.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Nov 22 14:12:54 UTC 2019
Marcel Taeumel uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-mt.424.mcz
==================== Summary ====================
Name: Tests-mt.424
Author: mt
Time: 22 November 2019, 3:12:53.436669 pm
UUID: a10469ef-ba65-b546-8dc4-771983a23a95
Ancestors: Tests-mt.423, Tests-ct.412
Merges tests for syntax-error handling.
=============== Diff against Tests-mt.423 ===============
Item was added:
+ ----- Method: CompilerSyntaxErrorNotifyingTest>>testResumeEarlySyntaxError (in category 'tests') -----
+ testResumeEarlySyntaxError
+
+ | result |
+ result := [Compiler evaluate: '''''''']
+ on: SyntaxErrorNotification
+ do: [:ex | ex resume: ''''''''''].
+ self assert: '''' equals: result!
Item was added:
+ ----- Method: CompilerSyntaxErrorNotifyingTest>>testResumeLateSyntaxError (in category 'tests') -----
+ testResumeLateSyntaxError
+
+ | result |
+ result := [Compiler evaluate: '6*:7']
+ on: SyntaxErrorNotification
+ do: [:ex | ex resume: '6*7'].
+ self assert: 42 equals: result!
More information about the Packages
mailing list