diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-13 23:59:37 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-13 23:59:37 +0100 |
commit | 8320484b88f2481dad276b1912831110fdf75bcd (patch) | |
tree | acbe6cb25cedc0f0b663d26716fb51f209847266 /test | |
parent | 0e243e6f231d2ce39adcb0020396e877fd1dcaf6 (diff) | |
download | gitbook-8320484b88f2481dad276b1912831110fdf75bcd.zip gitbook-8320484b88f2481dad276b1912831110fdf75bcd.tar.gz gitbook-8320484b88f2481dad276b1912831110fdf75bcd.tar.bz2 |
Fix #647: Fix links normalization (content and hash)
Diffstat (limited to 'test')
-rw-r--r-- | test/json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json.js b/test/json.js index e0ad14f..c600ffa 100644 --- a/test/json.js +++ b/test/json.js @@ -21,7 +21,7 @@ describe('JSON generator', function () { assert(fs.existsSync(path.join(output, "sub/test1.json"))); var test1 = JSON.parse(fs.readFileSync(path.join(output, "sub/test1.json"))); - assert(test1.sections[0].content.indexOf("intro.html") > 0); + assert(test1.sections[0].content.indexOf("index.html") > 0); }, done); }); |