summaryrefslogtreecommitdiffstats
path: root/test/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/page.js')
-rw-r--r--test/page.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/page.js b/test/page.js
index 42243d8..2c59753 100644
--- a/test/page.js
+++ b/test/page.js
@@ -122,3 +122,11 @@ describe('Relative images', function() {
assert(LEXED[0].content.indexOf('"preview2.png"') !== -1);
});
});
+
+describe('Section parsing', function() {
+ it('should not have false positive quiz parsing', function() {
+ var LEXED = loadPage('FALSE_QUIZ');
+
+ assert.not.equal(LEXED[0].type, 'quiz');
+ });
+});