Skip to content

Commit 6451e3e

Browse files
author
Ante Pocedulic
committed
- fixed test
1 parent 6a5f89c commit 6451e3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package com.baeldung.asciidoctor;
22

3+
import org.junit.Assert;
34
import org.junit.Test;
45

56
public class AsciidoctorDemoTest {
67

78
@Test
89
public void givenString_whenConverting_thenResultingHTMLCode() {
910
final AsciidoctorDemo asciidoctorDemo = new AsciidoctorDemo();
10-
11-
// Assert.assertEquals(asciidoctorDemo.generateHTMLFromString("Hello _Baeldung_!"), "");
11+
Assert.assertEquals(asciidoctorDemo.generateHTMLFromString("Hello _Baeldung_!"), "<div class=\"paragraph\">\n<p>Hello <em>Baeldung</em>!</p>\n</div>");
1212
}
1313
}

0 commit comments

Comments
 (0)