summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@friendco.de>2014-10-13 15:50:12 +0200
committerAaron O'Mullan <aaron.omullan@friendco.de>2014-10-13 15:50:12 +0200
commit676b2287ee2595843daa18bee4effeb6f021b2ed (patch)
treee2386d93c47f84e7c38b121f9b0c4cfa3344ce48 /test
parentd730a3aac601f000d770dbccca02ac4bb2d07245 (diff)
downloadgitbook-676b2287ee2595843daa18bee4effeb6f021b2ed.zip
gitbook-676b2287ee2595843daa18bee4effeb6f021b2ed.tar.gz
gitbook-676b2287ee2595843daa18bee4effeb6f021b2ed.tar.bz2
Rewrite quiz logic to be more robust
Fixes #470
Diffstat (limited to 'test')
-rw-r--r--test/page.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/page.js b/test/page.js
index 2c59753..cd843c6 100644
--- a/test/page.js
+++ b/test/page.js
@@ -127,6 +127,6 @@ 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');
+ assert.equal(LEXED[0].type, 'normal');
});
});