From 37485f5bbc4f19cd553d58bee950a5937675d1db Mon Sep 17 00:00:00 2001 From: yansheng836 Date: Sat, 1 Aug 2020 13:58:30 +0800 Subject: [PATCH] fix #52: add pegdown --- 2.1.x/chapter2-5/pom.xml | 5 +++++ .../java/com/didispace/chapter25/DemoApplicationTests.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/2.1.x/chapter2-5/pom.xml b/2.1.x/chapter2-5/pom.xml index 9ffaafe8..6327a6d8 100644 --- a/2.1.x/chapter2-5/pom.xml +++ b/2.1.x/chapter2-5/pom.xml @@ -49,6 +49,11 @@ 1.3.3 test + + org.pegdown + pegdown + 1.4.2 + diff --git a/2.1.x/chapter2-5/src/test/java/com/didispace/chapter25/DemoApplicationTests.java b/2.1.x/chapter2-5/src/test/java/com/didispace/chapter25/DemoApplicationTests.java index d36e438e..d08766cf 100644 --- a/2.1.x/chapter2-5/src/test/java/com/didispace/chapter25/DemoApplicationTests.java +++ b/2.1.x/chapter2-5/src/test/java/com/didispace/chapter25/DemoApplicationTests.java @@ -14,7 +14,7 @@ import java.nio.file.Paths; @RunWith(SpringRunner.class) -@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) +@SpringBootTest() public class DemoApplicationTests { @Test