Files
mattermost/tests/test-markdown-lists.md
Jason Blais ea26a596b2 Updating markdown links test (#3790)
#### Summary

Updating markdown links test

Ticket Link

https://mattermost.atlassian.net/browse/PLT-3829 and https://mattermost.atlassian.net/browse/PLT-3551 are marked as `Won't Fix`, so the markdown links test needs to be updated too.
2016-08-12 07:40:59 -04:00

245 lines
2.4 KiB
Markdown

# Markdown List Testing
Verify that all list types render as expected.
### Single-Item Ordered List
**Expected:**
```
7. Single Item
```
**Actual:**
7. Single Item
### Multi-Item Ordered List
**Expected:**
```
1. One
2. Two
3. Three
```
**Actual:**
1. One
1. Two
1. Three
### Nested Ordered List
**Expected:**
```
1. Alpha
1. Bravo
2. Charlie
3. Delta
1. Echo
2. Foxtrot
```
**Actual:**
1. Alpha
1. Bravo
1. Charlie
1. Delta
1. Echo
1. Foxtrot
### Single-Item Unordered List
**Expected:**
```
• Single Item
```
**Actual:**
* Single Item
### Multi-Item Unordered List
**Expected:**
```
• One
• Two
• Three
```
**Actual:**
* One
- Two
+ Three
### Nested Unordered List
**Expected:**
```
• Alpha
• Bravo
• Charlie
• Delta
• Echo
• Foxtrot
```
**Actual:**
+ Alpha
* Bravo
- Charlie
* Delta
+ Echo
- Foxtrot
### Mixed List Starting Ordered
**Expected:**
```
1. One
2. Two
3. Three
```
**Actual:**
1. One
+ Two
- Three
### Mixed List Starting Unordered
**Expected:**
```
• Monday
• Tuesday
• Wednesday
```
**Actual:**
+ Monday
1. Tuesday
* Wednesday
### Nested Mixed List
**Expected:**
```
• Alpha
1. Bravo
• Charlie
• Delta
• Echo
• Foxtrot
• Golf
1. Hotel
• India
1. Juliet
2. Kilo
• Lima
• Mike
1. November
4. Oscar
5. Papa
```
**Actual:**
- Alpha
1. Bravo
* Charlie
+ Delta
- Echo
* Foxtrot
+ Golf
1. Hotel
- India
1. Juliet
2. Kilo
* Lima
1. Mike
1. November
4. Oscar
5. Papa
### Ordered Lists Separated by Carriage Returns
**Expected:**
```
1. One
• Two
2. Two
3. Three
```
**Actual:**
1. One
- Two
2. Two
3. Three
### New Line After a List
**Expected:**
```
1. One
2. Two
This text should be on a new line.
```
**Actual:**
1. One
2. Two
This text should be on a new line.
### Task Lists
**Expected:**
```
[ ] One
[ ] Subpoint one
- Normal Bullet
[ ] Two
[x] Completed item
```
**Actual:**
- [ ] One
- [ ] Subpoint one
- Normal Bullet
- [ ] Two
- [x] Completed item
### Numbered Task Lists
**Expected:**
```
1. [ ] One
2. [ ] Two
3. [x] Completed item
```
**Actual:**
1. [ ] One
2. [ ] Two
3. [x] Completed item
### Multiple Lists
**Expected:**
```
List A:
1. One
List B:
2. Two
```
List A:
1. One
List B:
2. Two