Skip to content

Commit

Permalink
more comment in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Sep 30, 2024
1 parent 17feea2 commit d191bcd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Microdown-Tests/MicRawParagraphBlockTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ No idea what it is :)
]

{ #category : 'tests' }
MicRawParagraphBlockTest >> testNotASimpleRawParagraph [
MicRawParagraphBlockTest >> testNotASimpleRawParagraphBecauseNotDeclaredTag [

| mic |
mic := (parser parse: '<toto>
No idea what it is :)
Expand All @@ -33,6 +34,7 @@ No idea what it is :)

{ #category : 'tests' }
MicRawParagraphBlockTest >> testNotASimpleRawParagraphNoSpaceInFrontToClose [

| children |
children := (parser parse: '<title>
No idea what it is :)
Expand Down Expand Up @@ -60,11 +62,13 @@ hkhkjhkj
self assert: children size equals: 1.
self assert: children first class equals: MicRawParagraphBlock.
self assert: children first label equals: 'title'.

self assertEmpty: children first children
]

{ #category : 'tests' }
MicRawParagraphBlockTest >> testThereIsNoValidationIfThetagStartWithAKnowHtml [
"for the moment we only check the first couple of characters to start with.
So it may happens that we match the beginning of a tag."
| mic |
mic := (parser parse: '<titleunkniw>
No idea what it is :)
Expand Down

0 comments on commit d191bcd

Please sign in to comment.