tests: Fix accidental functions in `ordered_list.js`

This fixes a bug introduced in commit
e9bb2c410e.
pull/4739/head
Richard Hansen 2021-02-09 00:46:39 -05:00 committed by John McLear
parent 4c6a12ce2b
commit 714e099b2a
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ describe('ordered_list.js', function () {
// TODO: Re-throw non-"condition never became true" errors to avoid false positives.
}
// This will fail if the above `waitForPromise()` succeeded.
expect(() => helper.padInner$('body').html()).to.be(originalHTML);
expect(helper.padInner$('body').html()).to.be(originalHTML);
});
it('does not insert unordered list', function (done) {
@ -93,7 +93,7 @@ describe('ordered_list.js', function () {
// TODO: Re-throw non-"condition never became true" errors to avoid false positives.
}
// This will fail if the above `waitForPromise()` succeeded.
expect(() => helper.padInner$('body').html()).to.be(originalHTML);
expect(helper.padInner$('body').html()).to.be(originalHTML);
});
it('does not insert unordered list', function (done) {