summaryrefslogtreecommitdiffstats
path: root/test/json.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-03-13 23:59:37 +0100
committerSamy Pessé <samypesse@gmail.com>2015-03-13 23:59:37 +0100
commit8320484b88f2481dad276b1912831110fdf75bcd (patch)
treeacbe6cb25cedc0f0b663d26716fb51f209847266 /test/json.js
parent0e243e6f231d2ce39adcb0020396e877fd1dcaf6 (diff)
downloadgitbook-8320484b88f2481dad276b1912831110fdf75bcd.zip
gitbook-8320484b88f2481dad276b1912831110fdf75bcd.tar.gz
gitbook-8320484b88f2481dad276b1912831110fdf75bcd.tar.bz2
Fix #647: Fix links normalization (content and hash)
Diffstat (limited to 'test/json.js')
-rw-r--r--test/json.js2
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);
});