diff options
-rw-r--r-- | test/page.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/page.js b/test/page.js index 910685e..160e3d0 100644 --- a/test/page.js +++ b/test/page.js @@ -18,4 +18,10 @@ describe('Page parsing', function() { assert.equal(LEXED[1].type, 'exercise'); assert.equal(LEXED[2].type, 'normal'); }); + + it('should gen content for normal sections', function() { + assert(LEXED[0].content); + assert(!LEXED[1].content); + assert(LEXED[2].content); + }); }); |