diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-19 15:46:34 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-19 15:46:34 +0100 |
commit | 2ae392436536b4abd9f7edf195eb6b0c0a0985f1 (patch) | |
tree | 9673e6fd3ab161ef956e56b9e89f1b2207895182 /test/parsing.js | |
parent | d172aaefee8eb733d23a4e92abd79cbc4a43f801 (diff) | |
download | gitbook-2ae392436536b4abd9f7edf195eb6b0c0a0985f1.zip gitbook-2ae392436536b4abd9f7edf195eb6b0c0a0985f1.tar.gz gitbook-2ae392436536b4abd9f7edf195eb6b0c0a0985f1.tar.bz2 |
Fix parsing of langs
Diffstat (limited to 'test/parsing.js')
-rw-r--r-- | test/parsing.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/parsing.js b/test/parsing.js index 1464ed2..b1c4114 100644 --- a/test/parsing.js +++ b/test/parsing.js @@ -28,4 +28,8 @@ describe('Book parsing', function () { assert.equal(LEXED[1].name, "Test 2"); assert.equal(LEXED[1].description, "a second test"); }); + + it('should correctly parse the languages', function() { + assert.equal(book2.books.length, 2); + }); }); |