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 9ed91bb..910685e 100644 --- a/test/page.js +++ b/test/page.js @@ -12,4 +12,10 @@ describe('Page parsing', function() { it('should detection sections', function() { assert.equal(LEXED.length, 3); }); + + it('should detection section types', function() { + assert.equal(LEXED[0].type, 'normal'); + assert.equal(LEXED[1].type, 'exercise'); + assert.equal(LEXED[2].type, 'normal'); + }); }); |