Christoph Thiede uploaded a new version of KernelTests to project The Trunk: http://source.squeak.org/trunk/KernelTests-ct.452.mcz
==================== Summary ====================
Name: KernelTests-ct.452 Author: ct Time: 24 February 2024, 9:33:33.756459 pm UUID: bd37e2b7-1de0-ac4f-8130-78ccabfdb249 Ancestors: KernelTests-ct.451, KernelTests-ct.376, KernelTests-ct.387
KernelTests-ct.387: Adds regression test for Kernel-ct.1355 (source logging after SyntaxError). Revision: Document side effect to changes file.
=============== Diff against KernelTests-ct.451 ===============
Item was added: + ----- Method: ClassDescriptionTest>>testLogSourceAfterReparseSyntaxError (in category 'tests') ----- + testLogSourceAfterReparseSyntaxError + + | class source | + SystemChangeNotifier uniqueInstance doSilently: "NB: this silences logging of subclass creation/deletion but not logging of #compile:, which is part of the functionality under test" + [[class := Object newSubclass. + source := 'foo [x'. + [class compile: source] + on: SyntaxErrorNotification do: [:error | + error retryWithNewSource: (source := source , ']')]. + self assert: source equals: (class sourceCodeAt: #foo) asString] + ensure: [class removeFromSystem]].!
squeak-dev@lists.squeakfoundation.org