[prev in list] [next in list] [prev in thread] [next in thread]
List: squeak-dev
Subject: [squeak-dev] The Inbox: Tests-ct.412.mcz
From: commits () source ! squeak ! org
Date: 2019-06-30 12:11:29
Message-ID: E1hhYg6-0004N6-Rt () andreas
[Download RAW message or body]
A new version of Tests was added to project The Inbox:
http://source.squeak.org/inbox/Tests-ct.412.mcz
==================== Summary ====================
Name: Tests-ct.412
Author: ct
Time: 30 June 2019, 2:11:26.54843 pm
UUID: 24e0c844-757d-1246-a348-a0372f66d993
Ancestors: Tests-pre.411
Add tests for SyntaxErrorNotification>>#resume:
=============== Diff against Tests-pre.411 ===============
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!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic