From 6e56a892be7ecfc2a6f5214c9627a5d0dd527d42 Mon Sep 17 00:00:00 2001 From: "quentin.moutte.etu" Date: Wed, 25 Sep 2024 22:11:41 +0200 Subject: [PATCH] change method use in testAnnotated for add text --- .../MicMicrodownTextualBuilderTest.class.st | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Microdown-Tests/MicMicrodownTextualBuilderTest.class.st b/src/Microdown-Tests/MicMicrodownTextualBuilderTest.class.st index 169d95f5..cc4c99bf 100644 --- a/src/Microdown-Tests/MicMicrodownTextualBuilderTest.class.st +++ b/src/Microdown-Tests/MicMicrodownTextualBuilderTest.class.st @@ -52,8 +52,12 @@ MicMicrodownTextualBuilderTest >> testAnchorReference [ { #category : 'tests - anchor' } MicMicrodownTextualBuilderTest >> testAnnotated [ - self assert: (builder annotated: 'anAnnotation' paragraph: [ builder text: 'anAnnotatedParagraph' ]) contents equals: '>[!anAnnotation] -> anAnnotatedParagraph', String cr, String cr + self + assert: (builder + annotated: 'anAnnotation' + paragraph: [ builder textWithBracket: 'anAnnotatedParagraph' ]) contents + equals: '>[!anAnnotation] +> anAnnotatedParagraph' , String cr , String cr ] { #category : 'tests - anchor' }