From 6731fd67e0779c7347202fea1692f157db6a6dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phaneDucasse?= Date: Fri, 19 Jul 2024 17:17:13 +0200 Subject: [PATCH] Fixed code to generate tests from booktester. --- src/Pillar-Tests-BookTester/PRBookTestGeneratorTest.class.st | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Pillar-Tests-BookTester/PRBookTestGeneratorTest.class.st b/src/Pillar-Tests-BookTester/PRBookTestGeneratorTest.class.st index 69c98595..3dcd9f01 100644 --- a/src/Pillar-Tests-BookTester/PRBookTestGeneratorTest.class.st +++ b/src/Pillar-Tests-BookTester/PRBookTestGeneratorTest.class.st @@ -111,11 +111,10 @@ PRBookTestGeneratorTest >> testMethodCreationSyntaxErrorCodeblock [ self assert: (self methodCreationError methodDict includesKey: #test1). self assert: (self methodCreationError methodDict at: #test1) sourceCode - equals: - 'test1 + equals: 'test1 self assert: Error signal description: ''A code block failed''. - "SyntaxErrorNotification was raised with: '')'' expected" + "CodeError was raised with: '')'' expected" "by the codeblock: ((a1 at: 1) at: 1 put: ''sally''. a1)>>>#(#(''sally''))"'. run := self methodCreationError suite run. self assertEmpty: run failures.