-
-
Notifications
You must be signed in to change notification settings - Fork 23
Adding unordered lists to be parsed. #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ActuallyTaylor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good! The only note that I have is the case naming for all the functions.
| final class BasicHTMLTests { | ||
|
|
||
| func testAll() throws { | ||
| @Test func All() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func All() throws { | |
| @Test func all() throws { |
| } | ||
|
|
||
| func testHeaderLevelOne() throws { | ||
| @Test func HeaderLevelOne() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func HeaderLevelOne() throws { | |
| @Test func headerLevelOne() throws { |
| } | ||
|
|
||
| func testHeaderLevelTwo() throws { | ||
| @Test func HeaderLevelTwo() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func HeaderLevelTwo() throws { | |
| @Test func headerLevelTwo() throws { |
| } | ||
|
|
||
| func testHeaderLevelThree() throws { | ||
| @Test func HeaderLevelThree() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func HeaderLevelThree() throws { | |
| @Test func headerLevelThree() throws { |
| } | ||
|
|
||
| func testHeaderLevelFour() throws { | ||
| @Test func HeaderLevelFour() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func HeaderLevelFour() throws { | |
| @Test func headerLevelFour() throws { |
| } | ||
|
|
||
| func testItalicizedBoldText() throws { | ||
| @Test func ItalicizedBoldText() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func ItalicizedBoldText() throws { | |
| @Test func italicizedBoldText() throws { |
| } | ||
|
|
||
| func testFencedCodeBlockWithLanguage() throws { | ||
| @Test func FencedCodeBlockWithLanguage() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func FencedCodeBlockWithLanguage() throws { | |
| @Test func fencedCodeBlockWithLanguage() throws { |
| } | ||
|
|
||
| func testFencedCodeBlockWithoutLanguage() throws { | ||
| @Test func FencedCodeBlockWithoutLanguage() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func FencedCodeBlockWithoutLanguage() throws { | |
| @Test func fencedCodeBlockWithoutLanguage() throws { |
| } | ||
|
|
||
| func testCode() throws { | ||
| @Test func Code() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func Code() throws { | |
| @Test func code() throws { |
| #expect(markdown == correctOutput) | ||
| } | ||
|
|
||
| @Test func UnorderedLists() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @Test func UnorderedLists() throws { | |
| @Test func unorderedLists() throws { |
|
Tnx for your feedback. I did a simple replace and forgot to lowercase the first letter. |
Was missing this for my own implementation. Maybe handy for someone else.
I've updated the tests to use Swift Testing.