mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-09 11:41:37 +00:00
9 lines
264 B
Python
9 lines
264 B
Python
from typing import List
|
|
|
|
from approvaltests.namer.inline_comparator import InlineComparator
|
|
|
|
|
|
def parse_docstring() -> List[str]:
|
|
lines = InlineComparator.get_test_method_doc_string().split("\n")[:-1]
|
|
return [line.split("->")[0].strip() for line in lines]
|