We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 631db6c + e992163 commit ef9298cCopy full SHA for ef9298c
test/test_utils.py
@@ -42,7 +42,7 @@ def test_sanitize_as_empty_string():
42
43
def test_gen_co_author():
44
arg = utils.gen_co_author('kiryto <black.swordsman@aincrad.com>')
45
- if not arg == "Co-authored-by: kiryto <black.swordsman@aincrad.com>":
+ if not arg == "\nCo-authored-by: kiryto <black.swordsman@aincrad.com>":
46
raise AssertionError()
47
48
arg2 = utils.gen_co_author('')
utils.py
@@ -34,7 +34,7 @@ def get_context():
34
def gen_co_author(co_author):
35
if co_author is '':
36
return ''
37
- return "Co-authored-by: %s" % co_author
+ return "\nCo-authored-by: %s" % co_author
38
39
40
def create_file(convention_name, dont_create=False):
0 commit comments