diff --git a/test/page.js b/test/page.js index 68c074932..94c1d0a1a 100644 --- a/test/page.js +++ b/test/page.js @@ -45,6 +45,10 @@ describe('Page parsing', function() { // HRs inserted correctly assert.equal(HR_LEXED[0].content.match(/
/g).length, 2); }); + + it('should detect an exercise\'s language', function() { + assert.equal(LEXED[1].lang, 'py'); + }); });