diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-21 18:43:37 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-21 18:43:37 +0100 |
commit | 7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0 (patch) | |
tree | dfb8307eecf4a110a6ec9ad95308203c633fefdc | |
parent | 8a3396deba3de1094117decaf3bda2bba8679f8d (diff) | |
download | gitbook-7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0.zip gitbook-7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0.tar.gz gitbook-7f9c24eedbc3967b52254f0d9344ca1fb1a4f9d0.tar.bz2 |
Fix test for file.mtime
-rw-r--r-- | test/page.js | 3 |
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'); }); }); |