mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
MarkdownToText: Add another test
Just for my own curiosity
This commit is contained in:
@ -8,6 +8,16 @@ void main() {
|
||||
expect(markdownToPlainText(input), 'Hello How are you?');
|
||||
});
|
||||
|
||||
test('Test Header2', () {
|
||||
var input = """Test Header
|
||||
----------
|
||||
|
||||
Hello
|
||||
""";
|
||||
|
||||
expect(markdownToPlainText(input), 'Test Header Hello');
|
||||
});
|
||||
|
||||
test('Itemized LIsts', () {
|
||||
var input = """Itemized lists
|
||||
look like:
|
||||
|
Reference in New Issue
Block a user