Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
daizutabi committed Feb 25, 2025
1 parent 3d30a5e commit ce8ec4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/parser/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def doc_func():


def test_parse_doc_function_text(doc_func: Doc):
assert doc_func.text == "Docstring [`D`][__mkapi__.astdoc.node.Definition]."
expected = "Docstring [`D`][__mkapi__.astdoc.node.Definition]."
assert doc_func.text.rstrip() == expected


def test_parse_doc_function_args(doc_func: Doc):
Expand Down

0 comments on commit ce8ec4d

Please sign in to comment.