Skip to content
Open
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
5 changes: 1 addition & 4 deletions vars/selfUnitTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,16 @@ Skip-PR-comments: true
My-pragma1: val1
My-pragma2: val2 val2

Required-githooks: true

Signed-off-by: Brian J. Murrell <[email protected]>'''
String commit_message = commit_title + '\n\n' + commit_desc + '\n\n' + commit_pragmas

Map expected_map = [
'skip-build': 'true', 'skip-pr-comments': 'true',
'my-pragma1': 'val1', 'my-pragma2': 'val2 val2',
'required-githooks': 'true',
'signed-off-by': 'Brian J. Murrell <[email protected]>']
String expected_str = '{skip-build=true, skip-pr-comments=true, ' +
'my-pragma1=val1, my-pragma2=val2 val2, ' +
'required-githooks=true, signed-off-by=Brian J. Murrell <[email protected]>}'
'signed-off-by=Brian J. Murrell <[email protected]>}'

println('Test pragmasToMap')

Expand Down