The Trunk: Tests-mt.424.mcz

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

The Trunk: Tests-mt.424.mcz

commits-2
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!