IDEA-CR-44517 RUBY-17964 markdown enter handler: more tests

GitOrigin-RevId: ebc21c69d2f91089e1eabb7d089470e0feee1661
This commit is contained in:
Dmitry.Krasilschikov
2019-07-02 06:52:16 +03:00
committed by intellij-monorepo-bot
parent f2ac27eafd
commit f12b005733
7 changed files with 27 additions and 0 deletions
@@ -0,0 +1,4 @@
```html
abc
<caret>
```
@@ -0,0 +1,3 @@
```html
abc <caret>
```
@@ -0,0 +1,3 @@
- >qwe
>asd
><caret>
@@ -0,0 +1,2 @@
- >qwe
>asd <caret>
@@ -0,0 +1,2 @@
- >
><caret>
@@ -0,0 +1 @@
- > <caret>
@@ -38,6 +38,18 @@ public class MarkdownEnterHandlerTest extends BasePlatformTestCase {
doTest();
}
public void testQuoteInListWithSpace() {
doTest();
}
public void testCodeFenceWithSpace() {
doTest();
}
public void testQuoteInListMiddleWithSpace() {
doTest();
}
private void doTest() {
String testName = getTestName(true);
myFixture.configureByFile(testName + ".before.md");