diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/metadata | 27 | ||||
-rw-r--r-- | tests/data/posts/2013-10-18-metadata-test.md | 4 | ||||
-rw-r--r-- | tests/data/posts/2013-10-18-metadata-test.md.metadata | 2 | ||||
-rw-r--r-- | tests/data/posts/metadata | 20 |
4 files changed, 53 insertions, 0 deletions
diff --git a/tests/data/metadata b/tests/data/metadata new file mode 100644 index 0000000..1145976 --- /dev/null +++ b/tests/data/metadata @@ -0,0 +1,27 @@ +--- posts/2013-10-18-metadata-test.md +a1: 8 +a2: 8 +a3: 8 +a4: 8 +a5: 8 +a6: 8 +a7: 8 +a8: 8 + +--- posts/* +a1: 7 +a2: 7 +a3: 7 +a4: 7 +a5: 7 +a6: 7 +a7: 7 + +--- ** +a1: 6 +a2: 6 +a3: 6 +a4: 6 +a5: 6 +a6: 6 + diff --git a/tests/data/posts/2013-10-18-metadata-test.md b/tests/data/posts/2013-10-18-metadata-test.md new file mode 100644 index 0000000..86a3e67 --- /dev/null +++ b/tests/data/posts/2013-10-18-metadata-test.md @@ -0,0 +1,4 @@ +--- +a1: 1 +--- +Nothing interesting here. diff --git a/tests/data/posts/2013-10-18-metadata-test.md.metadata b/tests/data/posts/2013-10-18-metadata-test.md.metadata new file mode 100644 index 0000000..7ee78b6 --- /dev/null +++ b/tests/data/posts/2013-10-18-metadata-test.md.metadata @@ -0,0 +1,2 @@ +a1: 2 +a2: 2 diff --git a/tests/data/posts/metadata b/tests/data/posts/metadata new file mode 100644 index 0000000..4a1be71 --- /dev/null +++ b/tests/data/posts/metadata @@ -0,0 +1,20 @@ +--- ** +a1: 5 +a2: 5 +a3: 5 +a4: 5 +a5: 5 + +--- * +a1: 4 +a2: 4 +a3: 4 +a4: 4 + +--- 2013-10-18-metadata-test.md +a1: 3 +a2: 3 +a3: 3 + +--- nonexistent +a3: 0 |