summaryrefslogtreecommitdiffstats
path: root/test/parsing.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parsing.js')
-rw-r--r--test/parsing.js4
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);
+ });
});