Skip to content

Commit

Permalink
✅ Implement test case provided in #272 (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiWeiss authored May 26, 2023
1 parent 1691a5e commit b2a668c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/middleware_tests/test_latex_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
r"See https://human_resources.com",
id="Keep special chars in url",
),
pytest.param(
r"One Two and Three{\'\i}abc-Four{\'\i}def",
"One Two and Threeíabc-Fourídef",
id=r"Remove braces-wrapping",
),
],
)
def test_latex_special_chars_decoding(latex_string, expected_decoded_string):
Expand Down

0 comments on commit b2a668c

Please sign in to comment.