summaryrefslogtreecommitdiffstats
path: root/test/navigation.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/navigation.js')
-rw-r--r--test/navigation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/navigation.js b/test/navigation.js
index 4ed2c04..9cc5745 100644
--- a/test/navigation.js
+++ b/test/navigation.js
@@ -31,7 +31,7 @@ describe('Summary navigation', function() {
assert.equal(nav['README.html'].prev, null);
assert.equal(nav['README.html'].next.path, 'chapter-1/README.html');
- assert.equal(nav['chapter-1/README.html'].prev, null);
+ assert.equal(nav['chapter-1/README.html'].prev.path, 'README.html');
assert.equal(nav['chapter-1/README.html'].next.path, 'chapter-1/ARTICLE1.html');
assert.equal(nav['chapter-1/ARTICLE1.html'].prev.path, 'chapter-1/README.html');