Trailing dots for Javadoc
This commit is contained in:
parent
2891e1f924
commit
eb9cdf789b
|
@ -90,8 +90,14 @@ def format_test_prefix(
|
||||||
) -> str:
|
) -> str:
|
||||||
indent = ''
|
indent = ''
|
||||||
str_builder = []
|
str_builder = []
|
||||||
|
|
||||||
if with_javadoc:
|
if with_javadoc:
|
||||||
str_builder += ['/** ', description, ' */', '\n']
|
str_builder += ['/** ']
|
||||||
|
str_builder += [description]
|
||||||
|
if not description.endswith(END_SYMBOLS):
|
||||||
|
str_builder += ['.']
|
||||||
|
str_builder += [' */', '\n']
|
||||||
|
|
||||||
str_builder += [indent, '@', annotation]
|
str_builder += [indent, '@', annotation]
|
||||||
if with_display_name:
|
if with_display_name:
|
||||||
str_builder += ['\n', indent, '@DisplayName("']
|
str_builder += ['\n', indent, '@DisplayName("']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user