summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-21 18:43:37 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-21 18:43:37 +0100
commit7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0 (patch)
treedfb8307eecf4a110a6ec9ad95308203c633fefdc /test
parent8a3396deba3de1094117decaf3bda2bba8679f8d (diff)
downloadgitbook-7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0.zip
gitbook-7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0.tar.gz
gitbook-7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0.tar.bz2
Fix test for file.mtime
Diffstat (limited to 'test')
-rw-r--r--test/page.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/page.js b/test/page.js
index 8eb2096..37acc95 100644
--- a/test/page.js
+++ b/test/page.js
@@ -289,7 +289,8 @@ describe('Page', function() {
var page = book.addPage('variables/file/mtime.md');
return page.toHTML(output)
.then(function(content) {
- content.should.endWith('(CET)</p>\n');
+ // A date ends with "(CET)" or "(UTC)""
+ content.should.endWith(')</p>\n');
});
});