up typo correction
This commit is contained in:
parent
73ca5a580e
commit
dd196d7392
3 changed files with 11 additions and 18 deletions
|
@ -6,7 +6,7 @@ from format_typo import corriger_typo
|
|||
|
||||
def test_correction_entetes_org(self):
|
||||
texte_avec_entetes = """* chapitre 1 :titre:
|
||||
* chapitre 2 : titre :"""
|
||||
* chapitre 2 : titre : """
|
||||
texte_corrige = corriger_typo(texte_avec_entetes)
|
||||
self.assertEqual(texte_corrige, """* chapitre 1 :titre:
|
||||
* chapitre 2 :titre:""")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue