diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-05-09 05:22:51 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-05-09 05:22:51 +0200 |
commit | 9ac8400684b12e919c929d585a6ae32c0554f7af (patch) | |
tree | 3dce80d12518e4e4e569862ed006bc9d8c428cc0 /tests/blogc-make/check_atom.c | |
parent | 451428118de3f7ceebf25dd41caeda2d46b08d83 (diff) | |
download | blogc-9ac8400684b12e919c929d585a6ae32c0554f7af.tar.gz blogc-9ac8400684b12e919c929d585a6ae32c0554f7af.tar.bz2 blogc-9ac8400684b12e919c929d585a6ae32c0554f7af.zip |
make: remove whitespaces from default atom template
Diffstat (limited to 'tests/blogc-make/check_atom.c')
-rw-r--r-- | tests/blogc-make/check_atom.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/blogc-make/check_atom.c b/tests/blogc-make/check_atom.c index 94c9a37..b35746b 100644 --- a/tests/blogc-make/check_atom.c +++ b/tests/blogc-make/check_atom.c @@ -51,7 +51,7 @@ test_atom_generate_empty_file(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}.html</id>\n" @@ -64,7 +64,7 @@ test_atom_generate_empty_file(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); @@ -103,7 +103,7 @@ test_atom_generate_empty_dir(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}/index.html</id>\n" @@ -116,7 +116,7 @@ test_atom_generate_empty_dir(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); @@ -155,7 +155,7 @@ test_atom_generate_file(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}.html</id>\n" @@ -168,7 +168,7 @@ test_atom_generate_file(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); @@ -207,7 +207,7 @@ test_atom_generate_dir(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}/index.html</id>\n" @@ -220,7 +220,7 @@ test_atom_generate_dir(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); @@ -267,7 +267,7 @@ test_atom_empty_file(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}.html</id>\n" @@ -280,7 +280,7 @@ test_atom_empty_file(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); @@ -329,7 +329,7 @@ test_atom_empty_dir(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}/index.html</id>\n" @@ -342,7 +342,7 @@ test_atom_empty_dir(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); @@ -391,7 +391,7 @@ test_atom_file(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}.html</id>\n" @@ -404,7 +404,7 @@ test_atom_file(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); @@ -453,7 +453,7 @@ test_atom_dir(void **state) " <email>{{ AUTHOR_EMAIL }}</email>\n" " </author>\n" " <subtitle type=\"text\">{{ SITE_TAGLINE }}</subtitle>\n" - " {% block listing %}\n" + " {%- block listing %}\n" " <entry>\n" " <title type=\"text\">{{ TITLE }}</title>\n" " <id>{{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}/index.html</id>\n" @@ -466,7 +466,7 @@ test_atom_dir(void **state) " </author>\n" " <content type=\"html\"><![CDATA[{{ CONTENT }}]]></content>\n" " </entry>\n" - " {% endblock %}\n" + " {%- endblock %}\n" "</feed>\n"); free(cmp); |