changeset 617:6c8f67394d97

tests: Add unicode tests for case-sensitive file-systems.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 06 Feb 2016 00:10:35 -0800
parents ccd328d0881f
children 477dc9a63222
files tests/bakes/test_unicode_tags.yaml
diffstat 1 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/bakes/test_unicode_tags.yaml	Thu Feb 04 23:22:50 2016 -0800
+++ b/tests/bakes/test_unicode_tags.yaml	Sat Feb 06 00:10:35 2016 -0800
@@ -38,8 +38,28 @@
       {% endfor %}
     pages/_index.md: ''
 outfiles:
+    tag/Это тэг.html: |
+      Pages in /tag/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html
+      Post 01
+---
+config:
+    site:
+        slugify_mode: lowercase,encode
+in:
+    posts/2015-03-01_post01.md: |
+      ---
+      title: Post 01
+      tags: [Это тэг]
+      ---
+    pages/_tag.md: |
+      Pages in {{pctagurl(tag)}}
+      {% for p in pagination.posts -%}
+      {{p.title}}
+      {% endfor %}
+    pages/_index.md: ''
+outfiles:
     tag/это тэг.html: |
-      Pages in /tag/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html
+      Pages in /tag/%D1%8D%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html
       Post 01
 ---
 config: