From 6b66ac71ba5e57c5179e6a106c9e6e0eeb1217df Mon Sep 17 00:00:00 2001 From: "quentin.moutte.etu" Date: Fri, 23 Aug 2024 19:20:36 +0200 Subject: [PATCH] Deleting MicAnnotatedParagraphTest class --- .../MicAnnotatedParagraphTest.class.st | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/Microdown-Tests/MicAnnotatedParagraphTest.class.st diff --git a/src/Microdown-Tests/MicAnnotatedParagraphTest.class.st b/src/Microdown-Tests/MicAnnotatedParagraphTest.class.st deleted file mode 100644 index 36813a83..00000000 --- a/src/Microdown-Tests/MicAnnotatedParagraphTest.class.st +++ /dev/null @@ -1,34 +0,0 @@ -Class { - #name : 'MicAnnotatedParagraphTest', - #superclass : 'MicBlockTest', - #category : 'Microdown-Tests-Parser', - #package : 'Microdown-Tests', - #tag : 'Parser' -} - -{ #category : 'tests' } -MicAnnotatedParagraphTest >> testBasicAnnotetedParagraphIgnoreExtraTextInFirstLine [ - - | root annotatedParagraph | - root := parser parse: '>[! important ] This is an important information -> This is an other information'. - self assert: root children size equals: 1. - annotatedParagraph := root children first. - self - assert: (annotatedParagraph isKindOf: MicAnnotatedParagraph); - assert: annotatedParagraph label equals: 'important'; - assert: annotatedParagraph text - equals: 'This is an other information' -] - -{ #category : 'tests' } -MicAnnotatedParagraphTest >> testBasicAnnotetedParagraphWhitoutClosingBracket [ - - | root annotatedParagraph | - root := parser parse: '>[! important -> This is an important information'. - self assert: root children size equals: 1. - annotatedParagraph := root children first. - self - assert: (annotatedParagraph isKindOf: MicBlockQuoteBlock) -]