Skip to content

Commit

Permalink
. t added user scenario for doc_string parsing
Browse files Browse the repository at this point in the history
Co-Authored-By: Kevin Maes <kevin@kevinmaes.com>
Co-Authored-By: 4dsherwood <4dsherwood@users.noreply.github.com>
Co-Authored-By: blade290 <43077216+blade290@users.noreply.github.com>
Co-Authored-By: Nitsan Avni <nitsanav@gmail.com>
Co-Authored-By: Susan Fung <38925660+susanfung@users.noreply.github.com>
Co-Authored-By: Nazee Hajebi <2491283+NazeeHajebi@users.noreply.github.com>
Co-Authored-By: T. E. Green <78671457+Tegsy@users.noreply.github.com>
  • Loading branch information
8 people committed Feb 11, 2024
1 parent c1a4ab1 commit ac3d6eb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_inline_approvals.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,12 @@ def test_docstring_parsing():
8
"""
verify_all("inputs", parse_docstring())


def test_uppercase():
"""
a -> A
b -> B
c -> C
"""
verify("\n".join([ f"{a} -> {a.upper()}" for a in parse_docstring()]), options=Options().inline())

0 comments on commit ac3d6eb

Please sign in to comment.