Add tests for #3223 (#8849)

This commit is contained in:
Sosuke Suzuki authored and GitHub committed 2020-07-29 00:30:42 +09:00
1 parent 7348a9de14
commit 272bea50b6
2 files changed
+190

No files matched your search

@@ -2783,6 +2783,181 @@ proseWrap: "always"
================================================================================
`;
exports[`nested-tab.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
tabWidth: 0
| printWidth
=====================================input======================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
* Top level list item 1
* Top level list item 2
* Nested List item 1
* Nested List item 2
* Sub-Nested List item 1
* Sub-Nested List item 2
=====================================output=====================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2 _ Sub-Nested List item 1 _ Sub-Nested List item 2
================================================================================
`;
exports[`nested-tab.md - {"proseWrap":"always","tabWidth":4} format 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
tabWidth: 4
| printWidth
=====================================input======================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
* Top level list item 1
* Top level list item 2
* Nested List item 1
* Nested List item 2
* Sub-Nested List item 1
* Sub-Nested List item 2
=====================================output=====================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2 _ Sub-Nested List item 1 _ Sub-Nested List item 2
================================================================================
`;
exports[`nested-tab.md - {"proseWrap":"always","tabWidth":999} format 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
tabWidth: 999
| printWidth
=====================================input======================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
* Top level list item 1
* Top level list item 2
* Nested List item 1
* Nested List item 2
* Sub-Nested List item 1
* Sub-Nested List item 2
=====================================output=====================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2 _ Sub-Nested List item 1 _ Sub-Nested List item 2
================================================================================
`;
exports[`nested-tab.md - {"proseWrap":"always"} format 1`] = `
====================================options=====================================
parsers: ["markdown"]
printWidth: 80
proseWrap: "always"
| printWidth
=====================================input======================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
* Top level list item 1
* Top level list item 2
* Nested List item 1
* Nested List item 2
* Sub-Nested List item 1
* Sub-Nested List item 2
=====================================output=====================================
# List with 1 tab indentation and \`-\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and \`*\`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2 _ Sub-Nested List item 1 _ Sub-Nested List item 2
================================================================================
`;
exports[`ordered.md - {"proseWrap":"always","tabWidth":0} format 1`] = `
====================================options=====================================
parsers: ["markdown"]
+15
View File
@@ -0,0 +1,15 @@
# List with 1 tab indentation and `-`
- Top level list item 1
- Top level list item 2
- Nested List item 1
- Nested List item 2
- Sub-Nested List item 1
- Sub-Nested List item 2
# List with 1 tab indentation and `*`
* Top level list item 1
* Top level list item 2
* Nested List item 1
* Nested List item 2
* Sub-Nested List item 1
* Sub-Nested List item 2