diff --git a/test/rules/pennwell/default.spec.js b/test/rules/pennwell/default.spec.js index 8493b1d..ec1f532 100644 --- a/test/rules/pennwell/default.spec.js +++ b/test/rules/pennwell/default.spec.js @@ -23,7 +23,7 @@ describe('rules/pennwell/default', () => {

Hello, World

\t `; const result = await rule(body); - expect(result.html.cleaned).to.equal('
BarFoo BarBaz Bar

Hello, World

'); + expect(result.html.cleaned).to.equal('
Bar Foo BarBaz Bar

Hello, World

'); }); it('should remove
elements.', async () => { const body = ` diff --git a/test/utils/strip-whitespace.spec.js b/test/utils/strip-whitespace.spec.js index feba3b6..011898d 100644 --- a/test/utils/strip-whitespace.spec.js +++ b/test/utils/strip-whitespace.spec.js @@ -13,7 +13,7 @@ describe('utils/strip-whitespace', () => {

Hello, World

\t `; const result = stripWhitespace(body); - expect(result).to.equal('
BarFooBar FooBaz Bar

Hello, World

'); + expect(result).to.equal('
Bar Foo Bar FooBaz Bar

Hello, World

'); }); it('should return an empty string for null values.', async () => { expect(stripWhitespace()).to.equal('');