Files
mostlymatter/doc/developer/tests/test-markdown-lists.md
Eric Sethna b501ed515c Update test-markdown-lists.md
1. Fix bug in expected for nested ordered lists
2. Add case with carriage return and new line after a list
2015-12-03 14:55:31 -07:00

2.0 KiB

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:
3. One
2. Two

  1. Three

Nested Ordered List

Expected:

1. Alpha
    1. Bravo
2. Charlie
3. Delta
    1. Echo
    2. Foxtrot

Actual:

  1. Alpha
    1. Bravo
  2. Charlie
  3. Delta
    1. Echo
    2. 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
        1. Oscar
            1. Papa

Actual:

  • Alpha
    1. Bravo
      • Charlie
      • Delta
  • Echo
  • Foxtrot
    • Golf
      1. Hotel
    • India 2. Juliet 3. Kilo
    • Lima
  1. Mike
    1. November 4. Oscar 5. Papa

Ordered Lists Separated by Carriage Returns

Expected:

1. One
  • Two

1. One
2. Two

Actual:

  1. One
  • Two
  1. One
  2. Two

Carriage Return and New Line After a List

Expected:

1. One
 - Two
This text should be on a new line.

Actual:

  1. One
  • Two This text should be on a new line.