diff --git a/test/cheerio.js b/test/cheerio.js index 164d8f822a..0523546906 100644 --- a/test/cheerio.js +++ b/test/cheerio.js @@ -302,7 +302,7 @@ describe('cheerio', function () { it('should use htmlparser2 if xml option is used', function () { var str = '
'; - var dom = cheerio.load(str); + var dom = cheerio.load(str, null, false); // Should use htmlparser2 and not add , etc. tags expect(dom.html()).to.be(str); });