Add tests for ANSIRenderer

This commit is contained in:
Christian Muehlhaeuser
2019-12-15 04:24:58 +01:00
parent 850c3affd3
commit 0c6cb858cf
14 changed files with 128 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
First line of quote                                                             
Second line                                                                     
+2
View File
@@ -0,0 +1,2 @@
This is a code. 
+2
View File
@@ -0,0 +1,2 @@
This is a code block.
+2
View File
@@ -0,0 +1,2 @@
This text is emphasized. 
+3
View File
@@ -0,0 +1,3 @@
1. First Item                                                                   
2. Second Item                                                                  
+3
View File
@@ -0,0 +1,3 @@
 => h1 <= 
 ## h2 
 ### h3
+1
View File
@@ -0,0 +1 @@
---
+2
View File
@@ -0,0 +1,2 @@
Image [Image: https://charm.sh/logo.png]. 
+2
View File
@@ -0,0 +1,2 @@
This is a link (https://charm.sh). 
+4
View File
@@ -0,0 +1,4 @@
• First Item                                                                    
    • Nested List Item                                                          
• Second Item                                                                   
+2
View File
@@ -0,0 +1,2 @@
This text is strong. 
+7
View File
@@ -0,0 +1,7 @@
+--------+-------+
| LABEL | VALUE |
+--------+-------+
| First | foo |
| Second | bar |
+--------+-------+
+3
View File
@@ -0,0 +1,3 @@
✓ Finished Task                                                                 
✗ Outstanding Task