Mercurial > piecrust2
comparison tests/bakes/test_simple.bake @ 347:76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 15 Apr 2015 16:39:35 -0700 |
parents | |
children | 4b1019bb2533 |
comparison
equal
deleted
inserted
replaced
346:89cc71928f6a | 347:76c838453dbe |
---|---|
1 --- | |
2 in: | |
3 posts/2010-01-01_post1.md: 'post one' | |
4 pages/about.md: 'URL: {{page.url}}' | |
5 pages/_index.md: 'something' | |
6 out: | |
7 '2010': | |
8 '01': | |
9 '01': | |
10 post1.html: 'post one' | |
11 about.html: 'URL: /about.html' | |
12 index.html: 'something' | |
13 --- | |
14 config: | |
15 site: | |
16 root: /whatever | |
17 in: | |
18 posts/2010-01-01_post1.md: 'post one' | |
19 pages/about.md: 'URL: {{page.url}}' | |
20 pages/_index.md: 'something' | |
21 out: | |
22 '2010': | |
23 '01': | |
24 '01': | |
25 post1.html: 'post one' | |
26 about.html: 'URL: /whatever/about.html' | |
27 index.html: 'something' | |
28 |