Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_sanitize_as_empty_string():

def test_gen_co_author():
arg = utils.gen_co_author('kiryto <[email protected]>')
if not arg == "Co-authored-by: kiryto <[email protected]>":
if not arg == "\nCo-authored-by: kiryto <[email protected]>":
raise AssertionError()

arg2 = utils.gen_co_author('')
Expand Down
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_context():
def gen_co_author(co_author):
if co_author is '':
return ''
return "Co-authored-by: %s" % co_author
return "\nCo-authored-by: %s" % co_author


def create_file(convention_name, dont_create=False):
Expand Down