pillar
pillar copied to clipboard
testAnnotationAsPillar {!
The testAnnotationAsPillar hardcodes the syntax for annotation and it would be better to use the builder.
testAnnotationAsPillar
| res |
res := self splitter pillarFrom: 'abc{!cite|a=2&b=5!}def'.
self assert: res second class equals: PRCitationAnnotation.
self assert: (res second parameters at: 'a') equals: '2'.
self assert: (res second parameters at: 'b') equals: '5'.
May be this is not worth to fix it because the package Pillar-Microdown should be removed since now we do not convert MD trees to PR trees.