aboutsummaryrefslogtreecommitdiff
path: root/test/content/navigates.test.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-11-30 19:48:46 +0900
committerGitHub <noreply@github.com>2017-11-30 19:48:46 +0900
commitb18674de73aa57d3727c62e05e8dac82a568fe7d (patch)
treeb7f97ba9a96b6f143975ff05ce5abb36c0b34574 /test/content/navigates.test.js
parentd5517345a81831135aaad2ebfac2ebb1a427b55d (diff)
parentee3cd3faabbe64265746ef39d419f63db24d11ba (diff)
Merge pull request #240 from chocolateboy/pagination-tweaks
Pagination tweaks and fixes
Diffstat (limited to 'test/content/navigates.test.js')
-rw-r--r--test/content/navigates.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/content/navigates.test.js b/test/content/navigates.test.js
index d8a3316..f1f0741 100644
--- a/test/content/navigates.test.js
+++ b/test/content/navigates.test.js
@@ -53,7 +53,7 @@ describe('navigates module', () => {
));
it('navigates to <a> elements whose text matches "previous"', testPrev(
- '<a href="#dummy">preview</a><a href="#prev">go to previous</a>'
+ '<a href="#dummy">previously</a><a href="#prev">previous page</a>'
));
it('navigates to <a> elements whose decoded text matches "<<"', testPrev(
@@ -119,11 +119,11 @@ describe('navigates module', () => {
));
it('prefers link[rel~=next] to a[rel~=next]', testNext(
- '<a rel="next" href="#dummy">click me<><link rel="next" href="#next" />'
+ '<a rel="next" href="#dummy">click me</a><link rel="next" href="#next" />'
));
it('prefers a[rel~=next] to a::text(pattern)', testNext(
- '<a href="#dummy">go to next</a><a rel="next" href="#next">click me</a>'
+ '<a href="#dummy">next page</a><a rel="next" href="#next">click me</a>'
));
});