Merge "Hygiene: replace deepEqual tests with propEqual"

This commit is contained in:
jenkins-bot 2019-02-08 00:02:55 +00:00 committed by Gerrit Code Review
commit 42238a6be5

View file

@ -99,22 +99,22 @@
MEDIUM_ISSUE MEDIUM_ISSUE
] ]
}; };
assert.deepEqual( assert.propEqual(
getAllIssuesSections( allIssuesOldTreatment ), getAllIssuesSections( allIssuesOldTreatment ),
[ '0', '0', '0' ], [ '0', '0', '0' ],
'section numbers correctly extracted from old treatment' 'section numbers correctly extracted from old treatment'
); );
assert.deepEqual( assert.propEqual(
getAllIssuesSections( allIssuesNewTreatment ), getAllIssuesSections( allIssuesNewTreatment ),
[ '0', '0', '0', '1' ], [ '0', '0', '0', '1' ],
'section numbers correctly extracted from new treatment' 'section numbers correctly extracted from new treatment'
); );
assert.deepEqual( assert.propEqual(
getAllIssuesSections( multipleIssues ), getAllIssuesSections( multipleIssues ),
[ '0' ], [ '0' ],
'multiple issues are packed into one entry since there is one box' 'multiple issues are packed into one entry since there is one box'
); );
assert.deepEqual( assert.propEqual(
getAllIssuesSections( multipleIssuesWithDeletion ), getAllIssuesSections( multipleIssuesWithDeletion ),
[ '0', '0' ], [ '0', '0' ],
'while multiple issues are grouped, non-multiple issues are still reported' 'while multiple issues are grouped, non-multiple issues are still reported'