summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorlindalumitchell <linda@mattermost.com>2017-04-18 08:26:25 -0700
committerCorey Hulen <corey@hulen.com>2017-04-18 08:26:25 -0700
commitd5ae46c96cc837d13155ca81ca2bf7317d282b61 (patch)
treef47920058093a8cfbc9428d94975b839d5a5b17f /tests
parentb1c47922ed84be4d5d1e41d90d7220570c6218ce (diff)
downloadchat-d5ae46c96cc837d13155ca81ca2bf7317d282b61.tar.gz
chat-d5ae46c96cc837d13155ca81ca2bf7317d282b61.tar.bz2
chat-d5ae46c96cc837d13155ca81ca2bf7317d282b61.zip
Update markdown test for lists (#6131)
* Update for no line breaks in lists * Updating line breaks in lists expected behavior
Diffstat (limited to 'tests')
-rw-r--r--tests/test-markdown-lists.md21
1 files changed, 13 insertions, 8 deletions
diff --git a/tests/test-markdown-lists.md b/tests/test-markdown-lists.md
index 675171bfc..ec9056f1a 100644
--- a/tests/test-markdown-lists.md
+++ b/tests/test-markdown-lists.md
@@ -71,23 +71,22 @@ Verify that all list types render as expected.
- Two
+ Three
-### Multi-Item Unordered List with Line Break
+### Multi-Item Unordered List with Line Break (Break should not render)
**Expected:**
```
• Item A
• Item B
-
• Item C
• Item D
```
**Actual:**
-• Item A
-• Item B
+* Item A
++ Item B
-• Item C
-• Item D
+- Item C
+- Item D
### Nested Unordered List
@@ -184,7 +183,6 @@ Verify that all list types render as expected.
```
1. One
• Two
-
2. Two
3. Three
```
@@ -192,7 +190,7 @@ Verify that all list types render as expected.
**Actual:**
1. One
- - Two
+ - Two
2. Two
3. Three
@@ -203,6 +201,7 @@ Verify that all list types render as expected.
```
1. One
2. Two
+
This text should be on a new line.
```
@@ -251,14 +250,20 @@ This text should be on a new line.
**Expected:**
```
List A:
+
1. One
+
List B:
+
2. Two
```
List A:
+
1. One
+
List B:
+
2. Two
### Lists with blank lines before and after