diff --git a/test/checks/shared/svg-non-empty-title.js b/test/checks/shared/svg-non-empty-title.js index 4ed56ac211..31b2079dcc 100644 --- a/test/checks/shared/svg-non-empty-title.js +++ b/test/checks/shared/svg-non-empty-title.js @@ -13,40 +13,40 @@ describe('svg-non-empty-title tests', function () { it('returns true if the element has a `title` child', function () { var checkArgs = checkSetup( - 'Time II: Party' + 'Time II: Party' ); assert.isTrue(checkEvaluate.apply(checkContext, checkArgs)); }); it('returns true if the `title` child has text nested in another element', function () { var checkArgs = checkSetup( - 'Time II: Party' + 'Time II: Party' ); assert.isTrue(checkEvaluate.apply(checkContext, checkArgs)); }); it('returns true if the element has a `title` child with `display:none`', function () { var checkArgs = checkSetup( - 'Time II: Party' + 'Time II: Party' ); assert.isTrue(checkEvaluate.apply(checkContext, checkArgs)); }); it('returns false if the element has no `title` child', function () { - var checkArgs = checkSetup(''); + var checkArgs = checkSetup(''); assert.isFalse(checkEvaluate.apply(checkContext, checkArgs)); assert.equal(checkContext._data.messageKey, 'noTitle'); }); it('returns false if the `title` child is empty', function () { - var checkArgs = checkSetup(''); + var checkArgs = checkSetup(''); assert.isFalse(checkEvaluate.apply(checkContext, checkArgs)); assert.equal(checkContext._data.messageKey, 'emptyTitle'); }); it('returns false if the `title` is a grandchild', function () { var checkArgs = checkSetup( - 'Time II: Party' + 'Time II: Party' ); assert.isFalse(checkEvaluate.apply(checkContext, checkArgs)); assert.equal(checkContext._data.messageKey, 'noTitle'); @@ -54,7 +54,7 @@ describe('svg-non-empty-title tests', function () { it('returns false if the `title` child has only whitespace', function () { var checkArgs = checkSetup( - ' \t\r\n ' + ' \t\r\n ' ); assert.isFalse(checkEvaluate.apply(checkContext, checkArgs)); assert.equal(checkContext._data.messageKey, 'emptyTitle'); @@ -62,7 +62,7 @@ describe('svg-non-empty-title tests', function () { it('returns false if there are multiple titles, and the first is empty', function () { var checkArgs = checkSetup( - 'Time II: Party' + 'Time II: Party' ); assert.isFalse(checkEvaluate.apply(checkContext, checkArgs)); assert.equal(checkContext._data.messageKey, 'emptyTitle');