Skip to content

Commit

Permalink
Fixed code to generate tests from booktester.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Jul 19, 2024
1 parent 4b516dc commit 6731fd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Pillar-Tests-BookTester/PRBookTestGeneratorTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6731fd6

Please sign in to comment.