From 04d5cfe76850192364eff344be7fe27730af8484 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Sat, 18 Jan 2025 06:30:04 -0500 Subject: [PATCH] update test outputs to fix test fail (#325) --- tests/fixtures/test_CommonMark_008.html | 6 +++--- tests/fixtures/test_GFM_doublequotes.html | 2 +- tests/fixtures/test_GFM_highlight.html | 2 +- tests/fixtures/test_GFM_highlight_default_py.html | 2 +- tests/fixtures/test_GFM_malicious_pre.html | 2 +- tests/fixtures/test_rst_008.html | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/fixtures/test_CommonMark_008.html b/tests/fixtures/test_CommonMark_008.html index eef144d..5072058 100644 --- a/tests/fixtures/test_CommonMark_008.html +++ b/tests/fixtures/test_CommonMark_008.html @@ -1,9 +1,9 @@

Here is some Python code for a Dog:

-
class Dog(Animal):
-    def __init__(self, name):
+
class Dog(Animal):
+    def __init__(self, name):
         self.name = name
 
-    def make_sound(self):
+    def make_sound(self):
         print('Ruff!')
 
 dog = Dog('Fido')
diff --git a/tests/fixtures/test_GFM_doublequotes.html b/tests/fixtures/test_GFM_doublequotes.html
index f75a4cf..b26adba 100644
--- a/tests/fixtures/test_GFM_doublequotes.html
+++ b/tests/fixtures/test_GFM_doublequotes.html
@@ -1,7 +1,7 @@
 

This is normal text.

This is code text.
 
-
def this_is_python():
+
def this_is_python():
     """This is a docstring."""
     pass
 
diff --git a/tests/fixtures/test_GFM_highlight.html b/tests/fixtures/test_GFM_highlight.html index c2cf7bb..1eae5fd 100644 --- a/tests/fixtures/test_GFM_highlight.html +++ b/tests/fixtures/test_GFM_highlight.html @@ -1,7 +1,7 @@

This is normal text.

This is code text.
 
-
def this_is_python():
+
def this_is_python():
     pass
 
func ThisIsGo(){
diff --git a/tests/fixtures/test_GFM_highlight_default_py.html b/tests/fixtures/test_GFM_highlight_default_py.html
index d85d6ce..d1a136f 100644
--- a/tests/fixtures/test_GFM_highlight_default_py.html
+++ b/tests/fixtures/test_GFM_highlight_default_py.html
@@ -1,4 +1,4 @@
-
async def this_is_python():
+
async def this_is_python():
     pass
 
 print(await this_is_python())
diff --git a/tests/fixtures/test_GFM_malicious_pre.html b/tests/fixtures/test_GFM_malicious_pre.html
index dc7b6e6..2e586ec 100644
--- a/tests/fixtures/test_GFM_malicious_pre.html
+++ b/tests/fixtures/test_GFM_malicious_pre.html
@@ -1,5 +1,5 @@
 

This is normal text.

-
def this_is_python():
+
def this_is_python():
     """This is a docstring."""
     pass
 <script type="text/javascript">alert('I am evil.');</script>
diff --git a/tests/fixtures/test_rst_008.html b/tests/fixtures/test_rst_008.html
index 6762f3a..bbb44a8 100644
--- a/tests/fixtures/test_rst_008.html
+++ b/tests/fixtures/test_rst_008.html
@@ -1,9 +1,9 @@
 

Here is some Python code for a Dog:

-
class Dog(Animal):
-    def __init__(self, name):
+
class Dog(Animal):
+    def __init__(self, name):
         self.name = name
 
-    def make_sound(self):
+    def make_sound(self):
         print('Ruff!')
 
 dog = Dog('Fido')