Change wording in tests to be more gender-neutral

This commit is contained in:
Jeroen Engels 2016-05-11 21:11:06 +02:00
parent cbe4fccd6c
commit 349776924c

View file

@ -29,7 +29,7 @@ function fixtures() {
'These people contributed to the project:', 'These people contributed to the project:',
'<!-- ALL-CONTRIBUTORS-LIST:START -->FOO BAR BAZ<!-- ALL-CONTRIBUTORS-LIST:END -->', '<!-- ALL-CONTRIBUTORS-LIST:START -->FOO BAR BAZ<!-- ALL-CONTRIBUTORS-LIST:END -->',
'', '',
'Thanks a lot guys!' 'Thanks a lot everyone!'
].join('\n'); ].join('\n');
return {options, jfmengels, content}; return {options, jfmengels, content};
@ -51,7 +51,7 @@ test('should replace the content between the ALL-CONTRIBUTORS-LIST tags by a tab
'| :---: | :---: | :---: |', '| :---: | :---: | :---: |',
'<!-- ALL-CONTRIBUTORS-LIST:END -->', '<!-- ALL-CONTRIBUTORS-LIST:END -->',
'', '',
'Thanks a lot guys!' 'Thanks a lot everyone!'
].join('\n'); ].join('\n');
const result = generate(options, contributorList, content); const result = generate(options, contributorList, content);
@ -76,7 +76,7 @@ test('should split contributors into multiples lines when there are too many', t
'| Kent C. Dodds is awesome! | Kent C. Dodds is awesome! |', '| Kent C. Dodds is awesome! | Kent C. Dodds is awesome! |',
'<!-- ALL-CONTRIBUTORS-LIST:END -->', '<!-- ALL-CONTRIBUTORS-LIST:END -->',
'', '',
'Thanks a lot guys!' 'Thanks a lot everyone!'
].join('\n'); ].join('\n');
const result = generate(options, contributorList, content); const result = generate(options, contributorList, content);
@ -149,7 +149,7 @@ test('should inject nothing if there are no contributors', t => {
'<!-- ALL-CONTRIBUTORS-LIST:START -->', '<!-- ALL-CONTRIBUTORS-LIST:START -->',
'<!-- ALL-CONTRIBUTORS-LIST:END -->', '<!-- ALL-CONTRIBUTORS-LIST:END -->',
'', '',
'Thanks a lot guys!' 'Thanks a lot everyone!'
].join('\n'); ].join('\n');
const result = generate(options, contributorList, content); const result = generate(options, contributorList, content);