Skip to content

Commit ef9298c

Browse files
authored
merge(#38): fixes_co-author
fix(co-author): fixes co-author
2 parents 631db6c + e992163 commit ef9298c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_sanitize_as_empty_string():
4242

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

4848
arg2 = utils.gen_co_author('')

utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_context():
3434
def gen_co_author(co_author):
3535
if co_author is '':
3636
return ''
37-
return "Co-authored-by: %s" % co_author
37+
return "\nCo-authored-by: %s" % co_author
3838

3939

4040
def create_file(convention_name, dont_create=False):

0 commit comments

Comments
 (0)