Skip to content

Commit

Permalink
change method use in testAnnotated for add text
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin.moutte.etu committed Sep 25, 2024
1 parent 79d3518 commit 6e56a89
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Microdown-Tests/MicMicrodownTextualBuilderTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down

0 comments on commit 6e56a89

Please sign in to comment.